From: Chris Gamache <cgamache@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: stringtype=unspecified problem
Date: Fri, 9 Feb 2007 17:15:09 -0500
Message-ID: <9cc55f600702091415r22648579uf5bc0d00e4c9932b@mail.gmail.com> (raw)
I'm setting stringtype=unspecified in my connection URL to allow
prepared statements to manipulate non-jdbc types as strings, since
jdbc seems to choke on them otherwise.
I'm running into a problem when I want to explicitly set one of those
unspecified types to NULL. It appears that jdbc is preparing that
statement using an empty string, which is causing PostgreSQL to
error-out on the execution of that statement.
The postgresql type in particular is the contrib type "uniqueidentifier" ...
I didn't want to file a bug report until I brought it up on the list
in case I'm overlooking something.
CG
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: cgamache@gmail.com
Subject: Re: stringtype=unspecified problem
In-Reply-To: <9cc55f600702091415r22648579uf5bc0d00e4c9932b@mail.gmail.com>
References: <9cc55f600702091415r22648579uf5bc0d00e4c9932b@mail.gmail.com>
* 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