-->
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: Hibernate in EJB3 Mode does not recognice default-lazy=false
PostPosted: Mon Dec 14, 2009 9:24 am 
Beginner
Beginner

Joined: Fri Dec 04, 2009 9:37 am
Posts: 34
Hello,

I have trouble to configure Hibernate( EJB3 mode) to recognize defalut-lazy=false property.

EJB3 mode conf:
<property name=\"hibernate.ejb.cfgfile\" value=\"/hibernate.cfg.xml\"/>\n" +
hibernate.ejb.autodetection="hbm"

The proplem is that my defalut-lazy attribute on each hbm has no effects.

Then I have found a workarround:
http://blog.nirav.name/2008/04/how-to-a ... -from.html

, but that seams not possible with HibernatePersistence & EJB3Configuration.

I have also tried to set defalut-lazy property to the hibernate.cfg.xml, but then a DTD failure is raised due the property Element which is actually a correct DTD element.. hmm....

Help welcome.

rgs, Andre



used Versions:
hibernate-annotations-3.4.0.GA
hibernate-distribution-3.3.2.GA
hibernate-entitymanager-3.4.0.GA


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.