0 Replies Latest reply on Oct 21, 2005 3:19 AM by Eric Chow

    Hibernate automatic create schema !

    Eric Chow Apprentice

      Hello,

      In the hibernate.cfg.xml, I have a property as following:

      <property name="hibernate.hbm2ddl.auto">create</property>
      



      If I use this property "create", it will drop and create the schema automaitc. 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 if I using Annotation ?

      Eric