Dec 1st, 2011, 07:04 PM
[Roo + GWT] Duplicate entry 'xxxx' for key 'name' (JDBCExceptionReporter)
In application made with Roo (1.2.0.M1) + GWT, when client fire the creation or the update of an entity with ConstraintViolation, the Receiver got an onConstraintViolation call.
It's ok with field size, notnull constraints but not unique constraint.
With unique constraint, annotate with "@Column(unique = true)", Receiver get a "onSuccess(Void void)" call with no way to know that the persistence is in error.
Is there a way to get an onConstraintViolation in case of Duplicate entry DB error ?
Tags for this Thread