Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 1 year ago
You cannot commit during a managed transaction! [code=0;state=null] When checking the jboss log, it is clear that kodo is trying to commit the sequence update :
via icesoft.org by Unknown author, 2 years ago
You cannot commit during a managed transaction! at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcCommit(BaseWrapperManagedConnection.java:543 )
java.sql.SQLException: You cannot commit during a managed transaction![code=0;state=null]When checking the jboss log, it is clear that kodo is trying to commit thesequence update : at org.jboss.resource.adapter.jdbc.WrappedConnection.commit(WrappedConnection.java:477) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.commit(SQLExecutionManagerImpl.java:783) at com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.updateSequence(DBSequenceFactory.java:267) at com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.getNext(DBSequenceFactory.java:111) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newDataStoreId(JDBCStoreManager.java:598) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFilter(PersistenceManagerImpl.java:1418) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:1348) at com.titan.kodojdotest.ejb.CarBean.edit(CarBean.java:51)