Re: setUseServerPrepare & typecasts - Mailing list pgsql-jdbc

From Aaron Mulder
Subject Re: setUseServerPrepare & typecasts
Date
Msg-id Pine.LNX.4.44.0211132056030.26627-100000@www.princetongames.org
Whole thread Raw
In response to Re: setUseServerPrepare & typecasts  (Scott Lamb <slamb@slamb.org>)
Responses Re: setUseServerPrepare & typecasts  (Felipe Schnack <felipes@ritterdosreis.br>)
List pgsql-jdbc
On Wed, 13 Nov 2002, Scott Lamb wrote:
> Ahh, but the JDBC 3.0 specification does. Section 13.2.2.3 says "if a
> Java null is passed to any of the setter methods that take a Java
> object, the parameter will be set to JDBC NULL". So it should work.

    Oops, you're right.  I had it in my head that you _had_ to use
setNull, but I see that's not really required.

Aaron


pgsql-jdbc by date:

Previous
From: Scott Lamb
Date:
Subject: Re: setUseServerPrepare & typecasts
Next
From: Felipe Schnack
Date:
Subject: Re: setUseServerPrepare & typecasts