java.sql.SQLException

Can't call rollback when autocommit=true

Solutions on the web1744

  • via Atlassian JIRA by Jeff Turner, 11 months ago
    Can't call rollback when autocommit=true
  • via Atlassian JIRA by Jeff Turner, 1 year ago
    Can't call rollback when autocommit=true
  • via Google Groups by RichardP, 1 month ago
    Can't call commit when autocommit=true
  • Stack trace

    • java.sql.SQLException: Can't call rollback when autocommit=true at com.mysql.jdbc.Connection.rollback(Connection.java:4686) at com.evermind.sql.FilterConnection.rollback(FilterConnection.java:187) at com.evermind.sql.FilterConnection.rollback(FilterConnection.java:187) at org.ofbiz.core.entity.jdbc.SQLProcessor.rollback(SQLProcessor.java:131) at org.ofbiz.core.entity.jdbc.SQLProcessor.commit(SQLProcessor.java:114) at org.ofbiz.core.entity.jdbc.SQLProcessor.close(SQLProcessor.java:153) at org.ofbiz.core.entity.EntityListIterator.close(EntityListIterator.java:102) at org.ofbiz.core.entity.GenericDAO.selectByAnd(GenericDAO.java:599) at org.ofbiz.core.entity.GenericHelperDAO.findByAnd(GenericHelperDAO.java:134) at org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.java:782) at org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.java:767) at org.ofbiz.core.entity.GenericDelegator.findByAnd(GenericDelegator.java:744) at com.opensymphony.module.propertyset.ofbiz.OFBizPropertySet.getKeys(OFBizPropertySet.java:87) at com.opensymphony.module.propertyset.AbstractPropertySet.getKeys(AbstractPropertySet.java:292)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.