Beginner |
 |
Joined: Thu Jul 08, 2004 8:56 am Posts: 23
|
I was trying to figure out a way to implement a lazy collection without breaking the layer independence. So I thought about using the Thread.setUncaughtException to handle LazyInitializationException and retach the object to the session, the problem I faced was that LazyInitializationException did not provide any information about which instance thrown the exception. Is it possible to find out which object thrown the exception through the exception thrown..?
_________________ Rafael Ribeiro
|
|