[jboss-user] [jBPM] - Re: java.sql.SQLException: You cannot set autocommit during a managed transaction!
Miloud Haimoune
do-not-reply at jboss.com
Wed May 23 11:49:43 EDT 2012
Miloud Haimoune [https://community.jboss.org/people/milhaim] created the discussion
"Re: java.sql.SQLException: You cannot set autocommit during a managed transaction!"
To view the discussion, visit: https://community.jboss.org/message/737418#737418
--------------------------------------------------------------
Which application server are you using ?
I have this error when I use Jboss AS 5.1 and set hibernate.hbm2ddl.auto to create in ther persistance.xml file, this create the data base the first time
if it's your case u need to remove this line from the file :
<property name="hibernate.hbm2ddl.auto" value="create" />
or not use the jboss transaction manager
hope this will help
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/737418#737418]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120523/c6fc6e9f/attachment.html
More information about the jboss-user
mailing list