Hello,
In the hibernate.cfg.xml, I have a property as following:
Code:
<property name="hibernate.hbm2ddl.auto">create</property>
If I use this property "create", it will drop and create the schema automaitc. I wonder is there any bug in this version, since it should not drop and re-create if I set the property to "create". As I read the document, the property "create-drop" will be drop and create the schema.
How can I just create or update the schema if not existed or updated ?
I am using Hibernate-3.1-rc2 and Annotation-beta6 in Tomcat5 + jdk1.5._05.
Anyway, is there any tools to export the DDL and DML if I using Annotation ?
Eric