4 Replies Latest reply on Dec 7, 2011 8:37 PM by Zeliang Huang

    Exporting DDL for production

    Zeliang Huang Newbie

      Hi Guys,

       

      I had set




      <property name="hibernate.hbm2ddl.auto" value="update" />

      for my development environment. All the tables, constraints, indexes and sequence are auto-created by hibernate.

       

      I am now preparing for production and I need to remove this auto function.

      May I know if there is any way to generate the SQL scripts that created all the database objects needed by JBPM. I am using Oracle 10g as my database.

       

      Btw, is there any way, I can tell Hibernate to use different sequence number for different JBPM tables? Currently all tables are using one sequence called HIBERNATE_SEQUENCE

       

       

      thanks