Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » Is it possible to have changetracking working on detached serialized objects?
Is it possible to have changetracking working on detached serialized objects? [message #1694534] Wed, 06 May 2015 05:47 Go to next message
Anahata Technologies is currently offline Anahata TechnologiesFriend
Messages: 4
Registered: February 2015
Junior Member
ChangeTracking like a greate feture but it seems to be transient for serialized object. Is it possible to somehow enable change tracking on serialized objects so only changes made to a given object are pesisted?
Re: Is it possible to have changetracking working on detached serialized objects? [message #1694863 is a reply to message #1694534] Fri, 08 May 2015 14:20 Go to previous messageGo to next message
Chris Delahunt is currently offline Chris DelahuntFriend
Messages: 1389
Registered: July 2009
Senior Member
The change tracking is not serialized because it is a way to keep the changes recorded in the persistence unit - serialization breaks the link to the persistence unit, so the entities need to be merged to be reassociated anyway. Only changes made to the given objects will be persisted when you merge those detached, serialized instances back into the persistence unit, and the managed instance returned from em.merge will have change tracking enabled.

Re: Is it possible to have changetracking working on detached serialized objects? [message #1695549 is a reply to message #1694863] Sat, 16 May 2015 09:54 Go to previous message
Anahata Technologies is currently offline Anahata TechnologiesFriend
Messages: 4
Registered: February 2015
Junior Member
Thanks Chris
Previous Topic:Exception [EclipseLink-4002] - ORA-25156: old style outer join (+) cannot be used with ANSI joins
Next Topic:Upgrading from EclipseLink 1.0.2 to Latest : To JPA or not ?
Goto Forum:
  


Current Time: Mon Dec 02 23:38:10 GMT 2024

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

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

Back to the top