-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: hbm2ddl - Best practices for updating a "production&quo
PostPosted: Thu Mar 16, 2006 2:42 am 
Beginner
Beginner

Joined: Sat Sep 17, 2005 10:41 am
Posts: 49
I am using annotations, and using them to generate the DDL based on my POJOs.

I have to say that Hibernate's schema drop/create and update is great for development. What I am wondering is how people plan/are planning to use the schema update feature for production.

I am leery of simply doing a schema update on a live system. Is it possible for Hibernate to connect to a live DB, compare the metadata, and generate a SQL update script which can be human-reviewed?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 16, 2006 3:39 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
in theory it should just work like that, but if i remember correctly schemaupdate have not properly implemented "to file" yet...patches welcome.

_________________
Max
Don't forget to rate


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.