[jboss-user] [jBPM] - Re: AS 7.1.2, JBPM 5.3 persistence : Getting Large Objects may not be used in auto-commit mode exception
Vimal Kansal
do-not-reply at jboss.com
Mon May 28 08:33:54 EDT 2012
Vimal Kansal [https://community.jboss.org/people/vimalkansal] created the discussion
"Re: AS 7.1.2, JBPM 5.3 persistence : Getting Large Objects may not be used in auto-commit mode exception"
To view the discussion, visit: https://community.jboss.org/message/738272#738272
--------------------------------------------------------------
My persistence unit is configured like this :
<persistence-unit name="org.jbpm.persistence.jpa" transaction-type="JTA">
<!-- provider>org.hibernate.ejb.HibernatePersistence</provider --> <-- I commented this out, since I am running on As7, and this is the default
<jta-data-source>java:jboss/datasources/jbpmDS</jta-data-source>
<mapping-file>META-INF/JBPMorm-JPA2.xml</mapping-file>
<!-- This line MUST be commented and NOT active when using JPA 2:
<mapping-file>META-INF/ProcessInstanceInfo.hbm.xml</mapping-file>
-->
<class>org.drools.persistence.info.SessionInfo</class>
<class>org.jbpm.persistence.processinstance.ProcessInstanceInfo</class>
<class>org.drools.persistence.info.WorkItemInfo</class>
<properties>
<property name="hibernate.max_fetch_depth" value="3"/>
<property name="hibernate.hbm2ddl.auto" value="update" />
<property name="hibernate.show_sql" value="false" />
<property name="hibernate.hbm2ddl.auto" value="update" />
<property name="hibernate.show_sql" value="true" />
<property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect" />
<property name="hibernate.connection.autocommit" value="false" />
<property name="hibernate.transaction.manager_lookup_class" value="org.jbpm.integration.console.JBPMTransactionManager" /> <-- I am not sure do I need this?
</properties>
</persistence-unit>
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/738272#738272]
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/20120528/fcea79bb/attachment-0001.html
More information about the jboss-user
mailing list