Skip to main content

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 17:03
Martin Ledvinka is currently offline Martin LedvinkaFriend
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: Tue Apr 07 08:44:49 GMT 2020

Powered by FUDForum. Page generated in 0.01888 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top