title: Clob column java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column
body: <pre><code>insertSQL = "insert into TELBP_INPUT_LOG (SERIAL_NO, INPUT_XML) values (?, ?)";
  statement = connection.prepareStatement(insertSQL);
  statement.setString(1, serialNo);
  statement.setString(2, inXml);          
  //statement.setString(2, "test");
  insertCount = statement.executeUpdate();
  </code></pre>
  
  <p>when the program run to executeUpdate(), error  </p>
  
  <pre><code>java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column  
  </code></pre>
  
  <p>is thrown, but if I copy the value of serialNO and inXml and run in SQL developer, no error prompted, what is the reason?  </p>
  
  <p>oracle version:Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi<br>
  column:<br>
  SERIAL_NO  VARCHAR2(22)<br>
  INPUT_XML  CLOB<br>
  Websphere:Websphere 5.1<br>
  jdbc: both ojdbc14 and ojdbc6 is tried, both has same error  </p>