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]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
