4 Replies Latest reply on Feb 19, 2019 5:09 AM by tomjenkinson

    org.postgresql.util.PSQLException: Cannot commit when autoCommit is enabled.

    vata2999

      Hi,

       

      I am using standalone JTA based on quickstart-5.9.2.Final\jta-1_2-standalone example with Postgresql and I get following exception :

       

      org.postgresql.util.PSQLException: Cannot commit when autoCommit is enabled.

       

      when I checked here narayana/ConnectionImple.java at master · jbosstm/narayana · GitHub autocommit attribute is true how can I change it to false ?