Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Cloning objects in EclipseLink
Cloning objects in EclipseLink [message #663339] Mon, 04 April 2011 13:03
Martin Ledvinka is currently offline Martin Ledvinka
Messages: 3
Registered: April 2011
Junior Member
Hi all,
I am working on my bachelor work at the Czech Technical University. My topic is transactional processing of ontologies. We're developing a persistence layer, which should conform to the JPA 2 standard and my work is to implement transactions for this layer.
I got inspired by EclipseLink and now I am working on the Unit of Work implementation. And here, finally, comes my question:

Can anyone explain to me the way EclipseLink creates clones of objects for transactions? I've studied the code but the way EL creates clones seems very complicated to me. Is there a easier way that would be sufficient?
I tried creating shallow copies through reflection, but is this enough for UoW clones?

Thanks in advance
Previous Topic:OptimisticLockException with delete
Next Topic:InstantiationException due to abstract Entity
Goto Forum:
  


Current Time: Thu Aug 21 08:23:34 EDT 2014

Powered by FUDForum. Page generated in 0.01555 seconds