Hibernate specific annotations and orm.xml

Hi all,

To be able to use lazy loading for properties i’ve used the annotation org.hibernate.annotations.LazyGroup in my test app. But now i need this for production in an orm.xml file. What is the counterpart in an orm.xml of this annotation (and perhaps order specific hibernate annotations) in an orm.xml file?

Hi,

I don’t think there is a counter-part in XML for this. You will have to use the annotation if you want to use this functionality.