title: java.lang.AbstractMethodError: oracle.jdbc.driver.T4CPreparedStatement.setCharacterStream(ILjava/io/Reader;J)V
body: <p>I'm getting the following exception when trying to insert the contents of a CKEditor (for CMS - Contents Management System) into Oracle database - <strong>Oracle 10g</strong>.</p>
  
  <p>The field in the Oracle table is of type clob.</p>
  
  <blockquote>
    <p>java.lang.AbstractMethodError:
    oracle.jdbc.driver.T4CPreparedStatement.setCharacterStream(ILjava/io/Reader;J)V</p>
  </blockquote>
  
  <p>The opposite side is that this exception is not caused when I try to insert the same contents into the database via AJAX using JSON.</p>
  
  <p>I'm using </p>
  
  <ul>
  <li>Spring 3.2.0</li>
  <li>Hibernate 4.2.0.CR1</li>
  <li>Oracle JDBC Driver version - 10.2.0.5.0</li>
  <li>JDK - 1.7</li>
  <li>Oracle 10g</li>
  </ul>
  
  <p>The exception has been causing since I changed Hibernate from 3.2.5 to 4.2.0.CR1</p>
  
  <p><a href="http://www.herongyang.com/JDBC/Oracle-CLOB-setCharacterStream.html" rel="nofollow noreferrer">This</a> link says</p>
  
  <blockquote>
    <p>There are 3 versions of the setCharacterStream() method, two of them
    were added as part of JDBC 4.0 (Java 1.6). Your JDBC driver may not
    support them:</p>
  </blockquote>
  
  <p><a href="https://stackoverflow.com/a/1195431/1037210">This</a> answer recommends to upgrade the JDBC driver but that question is about Oracle 11g that I'm not yet using. </p>
  
  <p>I'm quite not sure. Are JDBC 11.x drivers compatible with Oracle 10g? Once upon a time, I had tried with one but it didn't work properly.</p>
  
  <p>How to solve this exception?</p>
  
  <hr>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I have just <a href="http://wiki.eeng.dcu.ie/ee557/589-EE/version/2/part/5/data/ojdbc6.jar?branch=main&amp;language=default" rel="nofollow noreferrer">downloaded</a> <code>ojdbc6.jar</code> (previously it was <code>ojdbc14.jar</code> with the driver specified as above) which contains <code>Oracle JDBC Driver version - "11.1.0.7.0-Production"</code>. </p>
  
  <p>The exception exception disappeared. Kindly tell me, if this driver version is perfectly compatible with <strong>Oracle 10g</strong>.</p>