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: