title: Stop or terminate long running query in JDBC
body: <p>Is there any way to stop or terminate long running Oracle query in JDBC ?  It often end up with restart application server to  get jdbc to disconnect from Oracle DB. </p>
  
  <p>Looking for functionality similar to SQL Plus - <code>Kill session</code> in Java or JDBC</p>
  
  <p>in SQL Plus</p>
  
  <pre><code>SQL&gt; ALTER SYSTEM KILL SESSION 'sid,serial#';
  </code></pre>
  
  <p>any clue to perform in java ?</p>