|
| Re: JDBC & Interbase 5.0 |
 |
14 Nov 2006 01:58:46 -0800 |
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
|
| Post Reply
|
| Re: JDBC & Interbase 5.0 |
 |
14 Nov 2006 02:00:04 -0800 |
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
|
| Post Reply
|
|
|
|
|
|
|
|
|
|