Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » Cloning objects in EclipseLink
Cloning objects in EclipseLink [message #663339] Mon, 04 April 2011 13:03
Eclipse UserFriend
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: Fri Jul 04 17:40:22 EDT 2025

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

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

Back to the top