Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp
[b]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!
[/b]
[b]Mapping documents:[/b]
[b]Code between sessionFactory.openSession() and session.close():[/b]
[b]Full stack trace of any exception that occurs:[/b]
[b]Name and version of the database you are using:[/b]
[b]The generated SQL (show_sql=true):[/b]
[b]Debug level Hibernate log excerpt:[/b]