Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JDBC & Interbase 5.0

15 views
Skip to first unread message

Michael Post

unread,
Nov 13, 2006, 4:47:33 AM11/13/06
to
Hello List,

i have to call an interbase database with the jdbc-driver to read
blob-values.
If i were implementing the routine, the driver says

Error: interbase.interclient.DriverNotCapableException: [interclient]
Unsupported feature: Using a JDBC method which is not yet supported.
See API reference for exception
interbase.interclient.DriverNotCapableException

Here my routine

rs.getBlob("CONTENT");
if(!rs.wasNull()){
Blob data = rs.getBlob("CONTENT");
InputStream in = data.getBinaryStream();
elements[i].setContent(in);

}

How are you read any blob-value of the database?

Thanks

Michael

Michael Post

unread,
Nov 14, 2006, 4:58:46 AM11/14/06
to
Hello List,

for your list-archive.
You have to call an InputStream-object ONLY with
"rs.getBinaryStream("CONTENT");" NOT like my code above.

That was my problem. 3 Days i was searching with google and other
mailinglists :-(

Michael

Michael Post

unread,
Nov 14, 2006, 5:00:04 AM11/14/06
to
Hello List,

On 13 Nov., 10:47, "Michael Post" <michael.p...@purematic.de> wrote:

for your list-archive.

0 new messages