Hi Isomorphic,
i just noticed that this feature might help.
I wanted to executed an update on a table. As Criteria I gave a name of a column that is unique in the DB. SmartGWT does not "know" this, as I can't tell it in the ds.xml.
So my update is refused with the message to either include the PK-column as Criteria or to setAllowMultiUpdate(true).
SmartGWTs behavior is correct here, but if I could tell in the ds.xml that this column a gave as Criteria is unique, it would save some time here.
I don't know what this would mean wrt "isUnique"-validators (are they added implicit then?). Can you tell me what you think of the idea?
Best regards,
Blama
i just noticed that this feature might help.
I wanted to executed an update on a table. As Criteria I gave a name of a column that is unique in the DB. SmartGWT does not "know" this, as I can't tell it in the ds.xml.
So my update is refused with the message to either include the PK-column as Criteria or to setAllowMultiUpdate(true).
SmartGWTs behavior is correct here, but if I could tell in the ds.xml that this column a gave as Criteria is unique, it would save some time here.
I don't know what this would mean wrt "isUnique"-validators (are they added implicit then?). Can you tell me what you think of the idea?
Best regards,
Blama