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