🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.interclient
Article #37

Re: JDBC & Interbase 5.0

#37
From: 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
Technical Details
Message-ID: <1163498326.390565.178500@f16g2000cwb.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!f16g2000cwb.googlegroups.com!not-for-mail
References: <1163411253.024206.180320@h54g2000cwb.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f54da,9c5000fa6776e701
X-Google-Attributes: gidf54da,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!f16g2000cwb.googlegroups.com!not-for-mail
From: "Michael Post" <michael.post@purematic.de>
Newsgroups: borland.public.interbase.interclient
Subject: Re: JDBC & Interbase 5.0
Date: 14 Nov 2006 01:58:46 -0800
Organization: http://groups.google.com
Lines: 38
Message-ID: <1163498326.390565.178500@f16g2000cwb.googlegroups.com>
References: <1163411253.024206.180320@h54g2000cwb.googlegroups.com>
NNTP-Posting-Host: 87.234.211.36
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1163498331 26088 127.0.0.1 (14 Nov 2006 09:58:51 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 14 Nov 2006 09:58:51 +0000 (UTC)
In-Reply-To: <1163411253.024206.180320@h54g2000cwb.googlegroups.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1) Gecko/20061010 Firefox/2.0,gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 mailserver.horbach.de:8081 (squid/2.5.STABLE9)
Complaints-To: groups-abuse@google.com
Injection-Info: f16g2000cwb.googlegroups.com; posting-host=87.234.211.36;
   posting-account=Wv5SJQwAAADUj58FhlzQPHwEA-c3ybNu