EclipseLink: onetomany relationship with lazy loading, serialization loaded

I am having an issue with eclipselink under websphere 7.0 in a clustered environment. When my object is serialized every 1-n lazy relationship is loaded even if the object is detached. How can I avoid this behavior without using DTOs?

Many thanks

+2


a source to share


1 answer


Did you overwrite 'readObject / writeObject' or Externalizable Entity? Make sure these methods don't call lazy relationships.



+1


a source







All Articles