title: Is it possible to make oracle database procedures to ignore commit statements?
body: <p>I'm working on Java application that integrates with legacy system written Oracle PL/SQL. Unfortunately i'm not able to change this legacy system. Problem with this system is that it that sometimes COMMIT statements are written into procedures. But this causes that I'm not able to handle transactions correctly on my application level. </p>
  
  <p>So is it possible to make oracle database procedures to ignore commit statements?</p>
  
  <p>I have found that when doing   <code>ALTER SESSION DISABLE COMMIT IN PROCEDURE</code> in beginning of connection will cause exception when PL/SQL procedure is trying to commit. But is it possible to make Oracle to ignore commit without changing PL/SQL code?</p>