Java/Hibernate: ORM detachment tool and ORMCloner
In my post Java/Hibernate: Converting Hibernate proxy to real object and ORMLazyLoader, we have studied an utility ORMLazyLoader used directly in the POJO in order to detach from Hibernate session the lazy loaded attributes like: This utility loads the lazy attributes (Hibernate, Collection) in specified levels, however, the attributes of levels not specified, will remain attached to the Hibernate session. So, ...more»