From: EBIHARA, Yuichiro <ebihara@iplocks.co.jp>
To: pgsql-general@postgresql.org
Subject: Re: standard LOB support
Date: Fri, 22 Jun 2007 15:34:58 +0900
Message-ID: <01a901c7b497$7776bc40$4a0aa8c0@ipljp.local> (raw)
In-Reply-To: <f5fnkv$d0t$1@sea.gmane.org>
Thomas,
Thank you for your comment.
> I found that using getBinaryStream(), setBinaryStream(),
> getCharacterStream()
> and setCharacterStream() to handle LOBs across different DBMS
> is much more
> portable (and reliably) than using the Clob()/Blob() methods.
According to JDBC 3.0 specifiction, those 4 methods may not be compatible to BLOB/CLOB.
Some databases may support them to access LOB data but not all databases.
But my target databases are, actually, only PostgreSQL, Oracle and DB2 and there is no problem with
PostgreSQL.
Also, according to the Oracle JDBC driver manual, Oracle supports stream access to LOB through the 4
methods.
I'll also try DB2 soon.
Thanks,
ebi
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: ebihara@iplocks.co.jp, pgsql-general@postgresql.org
Subject: Re: standard LOB support
In-Reply-To: <01a901c7b497$7776bc40$4a0aa8c0@ipljp.local>
References: <f5fnkv$d0t$1@sea.gmane.org> <01a901c7b497$7776bc40$4a0aa8c0@ipljp.local>
* 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