Hibernate version: 3.X
Hi,
Why is not possible to override annotation lazy-load configuration at the high hibernate level of configuration.
The probleme is sometime in old coded application we need to mock some very complexe object without business (like domains values ;)).
For this the more quick approch is to serialize/unserialize object. For this we can use xstream but xstream can't serialize proxy created by CGLIB :
cf :
http://jira.codehaus.org/browse/XSTR-359
So it will be interesting to be able to disable lazy-load feature for improve facility of test. I read the documentation without see any information on it.
In hibernate 2 if my memory is good it was possible. Why this features was removed in hibernate 3.X
Thank you.