java.sql.SQLException: You cannot commit with autocommit set!

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 Coderanch by Joydeep Ghatak, 11 months ago
You cannot commit with autocommit set!
via Stack Overflow by MMRUser
, 2 years ago
You cannot commit with autocommit set!
via objectmix.com by Unknown author, 2 years ago
You cannot commit during a managed transaction!
via Google Groups by Carlo LF, 2 years ago
You cannot commit during a managed transaction!
java.sql.SQLException: You cannot commit with autocommit set!
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcCommit(BaseWrapperManagedConnection.java:494)
at net.sf.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:99)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.