J J [
http://community.jboss.org/people/joshjdevl] created the discussion
"Re: jbpm hibernate persistence"
To view the discussion, visit:
http://community.jboss.org/message/595166#595166
--------------------------------------------------------------
Do you have an example to share?
I tried
{code}
env.set(EnvironmentName.TRANSACTION, jtaTransactionManager.getUserTransaction());
{code}
Though receive
{code}
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
at
org.drools.persistence.jpa.KnowledgeStoreServiceImpl.buildCommanService(KnowledgeStoreServiceImpl.java:116)
... 34 more
Caused by: java.lang.RuntimeException: Could not commit session
at
org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:136)
... 39 more
Caused by: java.lang.NullPointerException
at
org.drools.persistence.SingleSessionCommandService.<init>(SingleSessionCommandService.java:125)
... 39 more
{code}
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/595166#595166]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]