JBoss Community

Re: JBPM 5.2 in DB2 - Sequence generation problem

created by Shiju John in jBPM - View the full discussion

Hi jiri Svitak,

Thanks for ur replay. This is not working.  In oracle am using the sequence name SESSIONINFO_ID_SEQ

But in DB2 the same sequence is not taken for sessioninfo table. My Persistance.xml look like

 

 



 

 

 

 

 

 

 

 

 

<properties>

 

<property name="hibernate.dialect"
value="org.hibernate.dialect.DB2Dialect"/>

 

<property name="hibernate.id.new_generator_mappings" value="false"/>

 

<property name="hibernate.connection.autocommit" value="false"/>

 

<property name="hibernate.max_fetch_depth" value="3"/>

 

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

 

<property name="hibernate.show_sql" value="false"/>

 

<property name="hibernate.transaction.manager_lookup_class" value="com.TransactionManagerLookup" />

 

</properties>

Reply to this message by going to Community

Start a new discussion in jBPM at Community