You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Andy Jefferson (Created) (JIRA)" <ji...@apache.org> on 2011/10/11 17:05:12 UTC
[jira] [Created] (JDO-697) Support integration with
javax.validation (JSR303)
Support integration with javax.validation (JSR303)
--------------------------------------------------
Key: JDO-697
URL: https://issues.apache.org/jira/browse/JDO-697
Project: JDO
Issue Type: New Feature
Components: api, specification, tck
Reporter: Andy Jefferson
While any user can make use of a JSR303 implementation and provide validation of persistent objects, it would be nice to provide integration in JDO with javax.validation. This can be achieved in the same way as JPA2 allows it, namely by adding the following persistence properties
javax.jdo.option.validation.mode=none, auto, callback
javax.jdo.option.validation.groups.prepersist
javax.jdo.option.validation.groups.preupdate
javax.jdo.option.validation.groups.predelete
See JPA2 spec Section 3.6 for a start point on wording. DataNucleus already provides this (just that it currently uses differently named PMF properties).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira