-->
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.  [ 4 posts ] 
Author Message
 Post subject: hibernate.hbm2ddl.auto: Description of possble values
PostPosted: Wed Mar 11, 2009 11:14 am 
Regular
Regular

Joined: Thu Jun 08, 2006 5:32 pm
Posts: 52
Hi,
Iam search of a value description of the property hibernate.hbm2ddl.auto.
I didnt found a value description in the Hibernate documentation.

validate
update
create
create-drop

Thanks
QStorm

_________________
http://nocxsville.myminicity.com/


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 11, 2009 7:14 pm 
Senior
Senior

Joined: Wed Sep 19, 2007 9:31 pm
Posts: 191
Location: Khuntien (Indonesia)
http://www.hibernate.org/hib_docs/v3/api/org/hibernate/cfg/Environment.html#HBM2DDL_AUTO

http://www.docjar.com/html/api/org/hibernate/cfg/SettingsFactory.java.html


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 12, 2009 6:13 am 
Expert
Expert

Joined: Thu Jan 08, 2009 6:16 am
Posts: 661
Location: Germany
validate checks if the schema is correct at startup.

update creates missing columns and tables.

create creates all tables deleting existing data.

create-drop does the same, but drops the tables on application exit.

_________________
-----------------
Need advanced help? http://www.viada.eu


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 12, 2009 6:26 am 
Regular
Regular

Joined: Thu Jun 08, 2006 5:32 pm
Posts: 52
Thank you :)

_________________
http://nocxsville.myminicity.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.