Article View: borland.public.interbase.interclient
Article #38Re: JDBC & Interbase 5.0
From: Michael Post
Date: Tue, 14 Nov 2006 10:00
Date: Tue, 14 Nov 2006 10:00
33 lines
2257 bytes
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
Technical Details
Message-ID:
<1163498403.957357.207700@m73g2000cwd.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!m73g2000cwd.googlegroups.com!not-for-mailReferences:
<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!m73g2000cwd.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 02:00:04 -0800 Organization: http://groups.google.com Lines: 34 Message-ID: <1163498403.957357.207700@m73g2000cwd.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 1163498410 26470 127.0.0.1 (14 Nov 2006 10:00:10 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 14 Nov 2006 10:00:10 +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: m73g2000cwd.googlegroups.com; posting-host=87.234.211.36; posting-account=Wv5SJQwAAADUj58FhlzQPHwEA-c3ybNu