We are using Hibernate 3.5.0-Final (the (ancient?) version that ships as an add-on to Glassfish 3.1.1).
We are also using hibernate-jpamodelgen to statically generate the metamodel at build time.
For reasons that some of our developers have attributed to magic, we've found that we need to make sure that the following property is NOT set in our persistence.xmls:
Code:
<property name="hibernate.ejb.metamodel.generation" value="disabled"/>
To my eyes, then, that means that even if we statically generate the metamodel at build time, it is a requirement that the hibernate.ejb.metamodel.generation property be set to some value other than disabled.
Could someone explain what the relationship is between hibernate-jpamodelgen and the hibernate.ejb.metamodel.generation property?
Thanks,
Laird