Re: setUseServerPrepare & typecasts

From: Aaron Mulder <ammulder(at)alumni(dot)princeton(dot)edu>
To: Scott Lamb <slamb(at)slamb(dot)org>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: setUseServerPrepare & typecasts
Date: 2002-11-14 01:57:27
Message-ID: Pine.LNX.4.44.0211132056030.26627-100000@www.princetongames.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Felipe Schnack 2002-11-14 09:59:43 Re: setUseServerPrepare & typecasts
Previous Message Scott Lamb 2002-11-14 01:20:33 Re: setUseServerPrepare & typecasts