openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allee8285 <>
Subject Re: Bean validation on merge?
Date Wed, 02 Oct 2013 17:20:51 GMT
For "Automatic Validation upon Lifecycle Events" (see JPA, the
Validator.validate() will be called on em.flush or tx.commit. Per BVal spec
3.5, all "reachable" fields will be validated. Therefore merge, or any other
em operations, has no bearing on how the validation will take place.

To control any subset of fields to be validated, use group definition and
the* property to specify your customize
validation scheme.

Albert Lee.

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message