Почему я получаю java.lang.AbstractMethodError при попытке загрузить большой двоичный объект в БД?

У меня проблема с JDBC.

У меня есть следующий код:

//blargeparam is a blob column.
PreparedStatement pst =connection.prepareStatement("update gcp_processparams_log set blargeparam= ? where idprocessparamslog=1");

pst.setBinaryStream(1,inputStream);         

Я получаю следующую ошибку:

Exception in thread "main" java.lang.AbstractMethodError:           
oracle.jdbc.driver.T2CPreparedStatement.setBinaryStream(ILjava/io/InputStream;)V  

Моя строка подключенияjdbc:oracle:oci:@.....

Версия Oracle - 11g.

Из сообщения об ошибке кажется, что чего-то не хватает, но:

when I read from the same blob column (with blob.getBytes) everything works. The DLL's of the instant client are (correctly) in the library path.

This is the manifest of the Oracle JDBC JAR in my class path:

Manifest-Version: 1.0  
Specification-Title:    Oracle JDBC driver classes for use with JDK14  
Sealed: true  
Created-By: 1.4.2_14 (Sun Microsystems Inc.)  
Implementation-Title:   ojdbc14.jar  
Specification-Vendor:   Oracle Corporation  
Specification-Version:  Oracle JDBC Driver version - "10.2.0.4.0"  
Implementation-Version: Oracle JDBC Driver version - "10.2.0.4.0"  
Implementation-Vendor:  Oracle Corporation  
Implementation-Time:    Sat Feb  2 11:40:29 2008  

Ответы на вопрос(14)

Ваш ответ на вопрос