| 2.1.0 to 2.3.2 [message #849399] |
Thu, 19 April 2012 01:34  |
klind Mising name Messages: 5 Registered: August 2011 |
Junior Member |
|
|
Hi, I am using eclipselink 2.1.0 and want to upgrade to 2.3.2.
But when doing so I get this error :
"Exception Description: An attempt was made to traverse a relationship using indirection that had a null Session. This often occurs when an entity with an uninstantiated LAZY relationship is serialize
d and that lazy relationship is traversed after serialization. To avoid this issue, instantiate the LAZY relationship prior to serialization."
And I see why, I am reading a message from a JMS queue with a serialized object in the message and try to call a lazy relation... but how come this works fine in 2.1.0 ???
[Updated on: Thu, 19 April 2012 02:00] Report message to a moderator
|
|
|
| Re: 2.1.0 to 2.3.2 [message #849895 is a reply to message #849399] |
Thu, 19 April 2012 10:53  |
Chris Delahunt Messages: 863 Registered: July 2009 |
Senior Member |
|
|
I do not know of any differences in this behavior from 2.1 to 2.3. My guess would be your application running in 2.1 was running for a while - it may have triggered the relationship sometime in the past before putting it in the queue. EclipseLink has a shared cache, so it would remain triggered in the cache until it was garbage collected, refreshed or the application is restarted.
Best Regards,
Chris
|
|
|
Powered by
FUDForum. Page generated in 0.01639 seconds