[jboss-user] [jBPM] New message: "Re: jbpm 4.3 - org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update"

Ronald van Kuijk do-not-reply at jboss.com
Sun Jan 31 20:44:20 EST 2010


User development,

A new message was posted in the thread "jbpm 4.3 - org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update":

http://community.jboss.org/message/523238#523238

Author  : Ronald van Kuijk
Profile : http://community.jboss.org/people/kukeltje

Message:
--------------------------------------------------------------
Well, from what I could determine from the different configs is: (and this does not yield any more new info for me)
- use JTA if you want jBPM to participate fully in JTA
- use 'normal' if you want to just have jdbc transactions.
 
In the first case do not forget to configure
 
        <property name="hibernate.transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
        <property name="hibernate.transaction.manager_lookup_class">org.hibernate.transaction.JBossTransactionManagerLookup</property>
        <property name="jta.UserTransaction">UserTransaction</property>


 
correctly in your hibernate config specific for your server. That is all I can find out without digging to much in. Does this shed new light on it for you or doesn't it? (I think the latter)

--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/523238#523238




More information about the jboss-user mailing list