Hello,
I am using Hibernate/JBA behind a SLSB facade, serving both a web application and remote clients. In the case of remote clients, where objects can't be lazy loaded, i would like to have the my lazy collections set to null or filled with nulls instead of firing the exception (failed to lazily initialize a collection....).
In EclipseLink this can be done with a "eclipselink.session.customizer" class.
Is there a way to have null(s) instead of exception when lazy loading deatached entities in hibernate?
|