-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Metamodel questions
PostPosted: Wed Nov 23, 2011 9:57 am 
Beginner
Beginner

Joined: Thu Dec 29, 2005 12:08 pm
Posts: 31
Location: Acton, MA
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.