openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charlie Mordant <>
Subject OpenJPA and auto-commit
Date Sun, 30 Nov 2014 15:05:05 GMT
Hi OpenJPA Guru's,

I'm encountering an issue when openJPA participates to a global
transaction, I've got this weird error happening sometimes:

Caused by: <openjpa-2.3.0-r422266:1540826 nonfatal general error>
setAutoCommit(true) invalid during global transaction.

	at org.apache.openjpa.jdbc.meta.MappingTool.record(

	at org.apache.openjpa.jdbc.meta.MappingTool.record(

My persistence.xml is as simple as it can be:

<persistence-unit name="${project.artifactId}Pu" transaction-type="JTA">




 <property name="openjpa.Log" value="slf4j"/>

 <property name="openjpa.jdbc.SynchronizeMappings" value=

 <property name="openjpa.jdbc.DBDictionary" value="derby"/>


Is there any property/option to set somewhere?


Charlie Mordant

Full OSGI/EE stack made with Karaf:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message