Skip site navigation (1) Skip section navigation (2)

Re: stringtype=unspecified problem

From: "Chris Gamache" <cgamache(at)gmail(dot)com>
To: "Kris Jurka" <books(at)ejurka(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: stringtype=unspecified problem
Date: 2007-02-15 14:12:53
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
On 2/14/07, Kris Jurka <books(at)ejurka(dot)com> wrote:
> Here you're explicitly saying that it is a VARCHAR, not that you have a
> String that you're not sure what the real type is.  It would be possible
> to adjust setNull to check the stringtype setting and use Oid.UNSPECIFIED
> here, but I'm not sure that would be correct.

We've been batting this around in the office as well. I wish I knew
what the absolute correct behavior would be in this situation.

An observation that might be insightful is if I can figure out how


differs from



When connected using stringtype=unspecified it would seem to me that
the two should behave the same way. What do you think?

In response to


pgsql-jdbc by date

Next:From: Kris JurkaDate: 2007-02-15 16:40:01
Subject: Re: stringtype=unspecified problem
Previous:From: Albe LaurenzDate: 2007-02-15 11:16:14
Subject: Re: Synthesize support for Statement.getGeneratedKeys()?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group