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: hibernate.hbm2ddl.auto
PostPosted: Thu Feb 07, 2008 11:10 am 
Beginner
Beginner

Joined: Wed Oct 03, 2007 9:46 pm
Posts: 37
can the option "create" and "validate" be used at the same time so that " database and tables automatically created if not exist and use old database and tables if already exist" ?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 07, 2008 11:23 am 
Newbie

Joined: Mon Aug 15, 2005 3:43 am
Posts: 15
You can use "update", it will update the database if you have changed any thing and will not touch your data. The only gotcha is if you have deleted some thing from database structure, it wil not be able to detect that which is not a big deal after all.


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.