Re: [hibernate-dev] [OGM] OGM and Bean Validation

2014-04-02 Thread Emmanuel Bernard
It’s actually a PITA even in JPA. I wish ConstraintViolationExceptions were not wrapped at all. On 03 Apr 2014, at 00:00, Gunnar Morling wrote: > Hum, I guess it's one of the cases then where JPA doesn't 100% match for the > purposes of talking to NoSQL. > > > 2014-04-02 17:40 GMT+02:00 Emma

Re: [hibernate-dev] [OGM] OGM and Bean Validation

2014-04-02 Thread Gunnar Morling
Hum, I guess it's one of the cases then where JPA doesn't 100% match for the purposes of talking to NoSQL. 2014-04-02 17:40 GMT+02:00 Emmanuel Bernard : > This would go against the JPA spec unfortunately. > > On 02 Apr 2014, at 16:25, Gunnar Morling wrote: > > > Hi, > > > > Working on a demo fo

Re: [hibernate-dev] [OGM] OGM and Bean Validation

2014-04-02 Thread Emmanuel Bernard
This would go against the JPA spec unfortunately. On 02 Apr 2014, at 16:25, Gunnar Morling wrote: > Hi, > > Working on a demo for OGM, I tried to apply Bean Validation constraints to > my entities and have them automatically validated during the persistence > lifecycle. > > This works as expec