On 16 mai 2012, at 19:40, Andrej Golovnin wrote:

> 
> org.jboss.as.jpa.puparser.PersistenceUnitXmlParser assumes that the 
> validation mode would be defined
> in the persistence.xml by the tag "validation-mode". This tag has been added 
> in JPA 2.1 which is not yet
> final. Solution: add <validation-mode>NONE</validation-mode> to 
> persistence.xml, although it violates
> the persistence_2_0.xsd schema. At least it works for me now. :-)

Ah got it.
validation-mode is part of JPA 2.0, I did add it back in 2009 from what Git 
says. (in our version of persistence_2_0.xsd
_______________________________________________
hibernate-dev mailing list
hibernate-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev

Reply via email to