|Cloning objects in EclipseLink [message #663339]
||Mon, 04 April 2011 13:03
| Martin Ledvinka
Registered: April 2011
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
Powered by FUDForum
. Page generated in 0.01555 seconds