-->
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.  [ 1 post ] 
Author Message
 Post subject: what is the default value for "hibernate.hbm2ddl.auto=&
PostPosted: Tue Apr 12, 2005 11:41 pm 
Newbie

Joined: Thu Apr 07, 2005 7:56 am
Posts: 3
Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:2.1.1
I encounter a weird problem. I am using hibernate for 2 months. Everything is fine until yesterday.

The hibernate would drop my existing jbpm tables and regenerate the table. And all my data has gone. I have to recover database from time to time.
Does any one ever encounter this problem?

Also hibernate team, what is the relationship between this config with create-drop tables?

hibernate.hbm2ddl.auto=create-drop|create|update

I did not specify this configuration on the hibernate config. What is the default value for this config item?

How to forbid hibernate to drop tables and recreate tables automatically?

Thanks!



Mapping documents:

Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

Name and version of the database you are using:

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:


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

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.