From: Kevin Murphy <murphy@genome.chop.edu>
To: pgsql-jdbc@postgresql.org
Subject: Re: Statement setNull for Types.CLOB
Date: Fri, 24 Jun 2005 17:18:35 -0400
Message-ID: <42BC78AB.6080808@genome.chop.edu> (raw)
On Fri, 18 Feb 2005, Kris Jurka wrote:
> On Fri, 18 Feb 2005, Matt Magoffin wrote:
>> Hibernate calls setNull() passing
>> the Types.CLOB as the SQL type. The Postgres driver is throwing an
>> exception, however, saying that type is unknown.
>
> I've fixed the setNull call to do something,
> but again CLOB really maps to the oid datatype in pg, not text.
I just encountered the same problem with setObject in
postgresql-8.0-311.jdbc3.jar, btw.
I don't understand the bit about oid, so I guess I will use
Types.VARCHAR unless instructed otherwise.
-Kevin Murphy
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: murphy@genome.chop.edu
Subject: Re: Statement setNull for Types.CLOB
In-Reply-To: <42BC78AB.6080808@genome.chop.edu>
References: <42BC78AB.6080808@genome.chop.edu>
* 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