Hi Sven,
A possible solution is in the jBPM forum :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897942#3897942
Regards,
Koen
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897943#3897943
Reply to the post :
http://www.jboss.com/index.html?mod
what you can try is to use an EJB session bean with a simple method that you
cann and has a declarative transaction attribute to REQUIRES_NEW.
then in that EJB method you call your code that needs a transaction.
I coded such a bean in my life so you can get the code here :
http://anoncvs.forge.
Wouldn't it be necessary to do this for the inner transaction (in jBpm). Since
this one shouldn't commit but does (as requested in source code)?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897843#3897843
Reply to the post :
http://www.jboss.com/index.html
Thank you Julien. I've done what you said. No success. My hibernate portal
configuration now looks like
|
| http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
|
|
| java:PortalDS
| false
| true
| true
| org.hibernate.transact
using the tx datasource, try to deploy the session factory with the following
properties :
| hibernate.transaction.flush_before_completion=true
| hibernate.transaction.auto_close_session=true
|
hibernate.transaction.factory_class=org.hibernate.transaction.JTATransactionFactory
|
hiber