Re: Clob support in jdbc

From: "Peter Mount" <peter(at)retep(dot)org(dot)uk>
To: "Matt Fair" <matt(at)netasol(dot)com>, <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: Clob support in jdbc
Date: 2000-07-16 08:35:18
Message-ID: 008901bfef01$38c1e460$5f3429d4@retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

I added CLOB/BLOB interface implementations into the JDBC2.0 driver for 7.0
so they should work.

Stream support isn't yet available but if you read your stream into a byte[]
array, then feed it to PreparedStatement then it will work . JDBC can handle
arrays <-> Blobs but not streams yet.

Peter

--
Peter T Mount peter(at)retep(dot)org(dot)uk, peter(at)retepdigital(dot)com, me(at)petermount(dot)com
Homepage: http://www.retep.org.uk Contact details @ http://petermount.com
PostgreSQL JDBC: http://www.retep.org.uk/postgres/
Java PDF generator: http://www.retep.org.uk/pdf/

----- Original Message -----
From: Matt Fair <matt(at)netasol(dot)com>
To: <pgsql-interfaces(at)postgresql(dot)org>
Sent: Saturday, July 15, 2000 7:18 PM
Subject: [INTERFACES] Clob support in jdbc

> Hello,
> I need to be able to store product information in a database. The
> product information includes descriptions that can be 4000 +
> characters. I have tried setAsciiStream() in the jdbc but it is not
> supported. It there any way I can store this information?
> Thank you,
> Matt Fair
>

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Peter Mount 2000-07-16 08:36:16 Re: JDBC Query bug
Previous Message Cedar Cox 2000-07-16 07:30:28 Re: more ODBC driver