[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Backup & Migrating Data

toni do-not-reply at jboss.com
Tue Jul 3 13:28:14 EDT 2007


Hi,

I have a set of entity beans, which change onces in a while. For example, maybe a new persitent field gets added to one of the entiy beans.

Because the system in going to be in production, I need a way to backup all the user data and restore it after the database structure has changed slightly.

In other words: I need a way to migrate from one data model to a new one. However, there are no big changes. Usually one or two fields get added.

Which solution does JBoss and Hibernate provide for managing this kind of work procedure? Are there any tools for this?

I appreciate any advice on handling situation like this: Being in production and still making changes to the data model, while not loosing current data.

BTW: I'm using seam as an application framework - so that's how I define the data structure of the database.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060089#4060089

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4060089



More information about the jboss-user mailing list