Dec 14

The underlying Object can be found using the LazyInitializer instance available from the proxy.

HibernateProxy proxy = (HibernateProxy) o;
Object actual = proxy.getHibernateLazyInitializer().getImplementation();

written by objects \\ tags: , , , ,