Hibernate version: 3.2
Hi,
We are migrating our persistance layer from entity beans to hibernate .
The current architecture uses custom assemblers to convert the persistance data pojos to business data pojos.
The assemblers are referencing lazy proxy objects and throwing LazyInitExections. We do not want to change the fetch mode to load these objects as they are not used and would affect memory/performance.
Do hibernate provide any strategy to ignore proxy objects/exceptions (or even set a lazy object to null rather than prozy), as this must be a common issue
Thanks for any suggestions
|