*
The moose likes EJB and other Java EE Technologies and the fly likes Strategies for handling updates in existing JPA persistence classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Strategies for handling updates in existing JPA persistence classes" Watch "Strategies for handling updates in existing JPA persistence classes" New topic
Author

Strategies for handling updates in existing JPA persistence classes

The Wandering Buddha
Greenhorn

Joined: Feb 06, 2009
Posts: 1
Hi All,

Good Afternoon.

We are doing a project in which we have planned to use JPA Persistence. We think that once the project goes live, there is a small chance that changes in the data model might be required.

My query is that what are the different strategies available to handle such a change. Particularly I have following questions:

1. With updated JPA classes, what are the best practices to incorporate them in the existing database schema?

2. With JPA, are there any best practices to, archive old data, update database schema, and again migrate the database to the new schema?

3. What are the various kinds of changes (broadly speaking) that will make such a migration impossible?

Thanks and Love to all
Ravi
 
Consider Paul's rocket mass heater.
 
subject: Strategies for handling updates in existing JPA persistence classes
 
Similar Threads
EJB 3: JPA versus Beginning EJB 3 App Dev
Exporting EJB to another workspace in VAJ
Exporting EJB to another workspace in VAJ
Hibernate best practices
Tools for Hibernate?