Monday, May 20, 2019

How to resolve java.sql.SQLException: Could not commit with auto-commit set on

Add this option to JAVA_OPT in catalina.sh

-Doracle.jdbc.autoCommitSpecCompliant=false
Reference:
https://stackoverflow.com/questions/23953534/java-sql-sqlexception-could-not-commit-with-auto-commit-set-on-at-oracle-jdbc-d

No comments:

Post a Comment