Hello,
I currently evaluating the smartgwt enterprise edition (3.1d) and tried to save an Hibernate Entity which has an ID declared as followed:
If I use the fielddefinition:
I get the following Error:
But if I set the field type to text:
I get the Following Error:
Can you tell me how to solve this problem?
I currently evaluating the smartgwt enterprise edition (3.1d) and tried to save an Hibernate Entity which has an ID declared as followed:
Code:
@Id @GeneratedValue(generator = "uuid") @GenericGenerator(name = "uuid", strategy = "uuid2") @Column(updatable = false, length = 36) private String uuid;
Code:
<field name="uuid" type="sequence" hidden="true" primaryKey="true" />
Code:
INFO Validation - [builtinApplication.evoProductAttribute_update] Validation error: [ { uuid:{ errorMessage:"Must be a whole number." } } ]
Code:
<field name="uuid" type="text" hidden="true" primaryKey="true" />
Code:
com.isomorphic.base.UpdateWithoutPKException: Criteria received from the client for add operation is missing the following non-sequence primary key fields: [uuid]. Either provide all primary key fields that are not sequences, or set allowMultiUpdate on the OperationBinding
Comment