🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.interbase.interclient
3 messages
3 total messages Started by Michael Post Mon, 13 Nov 2006 09:47
JDBC & Interbase 5.0
#36
Author: Michael Post
Date: Mon, 13 Nov 2006 09:47
26 lines
1790 bytes
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
Re: JDBC & Interbase 5.0
#37
Author: Michael Post
Date: Tue, 14 Nov 2006 09:58
37 lines
2268 bytes
Hello List,



On 13 Nov., 10:47, "Michael Post" <michael.p...@purematic.de> wrote:
> 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?
>

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
Re: JDBC & Interbase 5.0
#38
Author: Michael Post
Date: Tue, 14 Nov 2006 10:00
33 lines
2257 bytes
Hello List,

On 13 Nov., 10:47, "Michael Post" <michael.p...@purematic.de> wrote:
> 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?
>

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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads