Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » POJO persistance and discrepancy tolerance
POJO persistance and discrepancy tolerance [message #1460500] Mon, 03 November 2014 16:25
ModelGeek Mising name is currently offline ModelGeek Mising nameFriend
Messages: 550
Registered: June 2011
Senior Member
I have been using java serialization for persisting my POJOs in files but now i need to store my POJOs in database and needs collaboration in my application so i am trying to explore possibilities with EclipseLink.

If i have saved my POJO and i have to do alterations in class like add/delete/rename class properties then will i able to retirve saved POJO properly from saved resources?

1 - if i add a new class member variable to my java class then will i be able to retrieve already saved POJOs properly (in java serialization, Object can be reterived and the newly added property contains default value)?

2 - if i delete a class member variable in my java class then will i be able to retrieve already saved POJOs properly (in java serialization, it works well as long as serial version id does not change)?

3 - if i rename a class member variable in my java class then will i be able to retrieve already saved POJOs properly?

thanks for helping....

Cheers,
Previous Topic:Eclipselink jpa should provide a PersistenceProvider service
Next Topic:Can't find orm.xml in <jar-file>
Goto Forum:
  


Current Time: Thu Apr 18 01:53:38 GMT 2024

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

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

Back to the top