JBoss Community

Exporting DDL for production

created by Zeliang Huang in jBPM - View the full discussion

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 there is any way to generate the 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

Reply to this message by going to Community

Start a new discussion in jBPM at Community