title: java.sql.SQLException:Could not rollback with auto commit set on (JDBC with OracleConnection ,Weblogic 12c)
body: <p>technology : Java - JDBC
  ,Weblogic Server : 12c
  ,Databse : Oracle 12c</p>
  <p>I have recently migrated my weblogic server from 10g to 12c version . On 12c version the below auto commit parameters are set to true by default:</p>
  <p>autocommet = true
  autoCommitSpecComplaint = true</p>
  <p>Because of this , all database transactions are getting committed automatically even though rollback() method is called .</p>
  <p>After debugging the java code , I have noticed that auto commit operation is performed right after callableStatement.execute(); method is executed. i.e auto commit is happening before the rollback() method is invoked. and when rollback() method is executed ,java.sql.SQLException:Could not rollback with auto commit set on exception is raised</p>
  <p>I have set below parameters on weblogic's Server Start tab.</p>
  <p>-Doracle.jdbc.autoComitSpecCompliant=false
  -Doracle.jdbc.autocommit=false</p>
  <p>But no luck . I am still facing the issue</p>
  <p>I have read some articles suggests to use an older OJDBC driver but i don't want to use any older Drivers on Weblogic server</p>
  <p>I want to override these parameters on web logic server itself .So please help me to fix this problem</p>