Hello,
Is it possible to tell Hibernate not use lazy fetching at all, so that association attributes are left null?
Are you referring to lazy fetch of the entity or the entity attribute?
You can define both the class as well as the class attribute not to use lazy fetch
Use lazy="false". Use this as a reference.
http://www.hibernate.org/hib_docs/refer ... pping.htmlIn some situations I need some associations to be loaded, in those situations I would explicitly tell Hibernate to load them.
You can use Session.get(...) to load them
Thank you