On 12/10/2009 11:33 AM, Jeff Butler wrote:
This method (getCLOB) is a JDBC 3 method. You must now use a driver
that is JDBC 3 compliant.

I'm using the ojdbc6.jar driver from 11g (although our databases are 10g, the 11g drivers are required for JDK 6.) The Oracle JDBC FAQ says this about JDBC version support:

Oracle 11.1.0 and 11.2.0 support:

      Full support for JDBC 3.0 in the JDK 1.5 drivers.
Full support for JDBC 4.0 in the JDK 1.6 drivers with the exception of SQLXML which is not supported.

I wouldn't think the JDBC 3 requirement was introduced between Beta 5 and Beta 6, right? The code works fine with the Beta 5 code.

The best hint I could find with some quick Googling is that getCLOB should not be used to retrieve a VARCHAR column. All the character columns in the table I supplied in the Jira issue are VARCHAR; the table has no CLOB columns.

I'm also at a loss to figure out why everything works fine on Windows but fails on Linux. Same Oracle driver, same JDK version, same Tomcat version. Obviously, the VM is native code.

Something has changed between Beta 5 and Beta 6 to cause this.

Thanks.


On 12/10/09, Guy Rouillier<guyr-...@burntmail.com>  wrote:
I'm getting a catastrophic failure with Beta 6 that does not happen with
Beta 5.  I opened Jira issue IBATIS-712 for this:

https://issues.apache.org/jira/browse/IBATIS-712: Oracle Invalid column
type: getCLOB not implemented for class
oracle.jdbc.driver.T4CVarcharAccessor

Thanks.

--
Guy Rouillier

---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org
For additional commands, e-mail: user-java-h...@ibatis.apache.org





--
Guy Rouillier

---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org
For additional commands, e-mail: user-java-h...@ibatis.apache.org

Reply via email to