From: Peter Mount <peter@retep.org.uk>
To: Matt Fair <matt@netasol.com>
To: pgsql-interfaces@postgresql.org
Subject: Re: Clob support in jdbc
Date: Sun, 16 Jul 2000 09:35:18 +0100
Message-ID: <008901bfef01$38c1e460$5f3429d4@retep.org.uk> (raw)
References: <3970AB0C.9F0DC4D4@netasol.com>
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@retep.org.uk, peter@retepdigital.com, me@petermount.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@netasol.com>
To: <pgsql-interfaces@postgresql.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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: peter@retep.org.uk, matt@netasol.com
Subject: Re: Clob support in jdbc
In-Reply-To: <008901bfef01$38c1e460$5f3429d4@retep.org.uk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox