[hibernate-dev] Memory consumption

Emmanuel Bernard emmanuel at hibernate.org
Mon May 21 11:43:24 EDT 2012

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

More information about the hibernate-dev mailing list