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

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 (view raw or flat)
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

pgsql-jdbc by date

Next:From: Felipe SchnackDate: 2002-11-14 09:59:43
Subject: Re: setUseServerPrepare & typecasts
Previous:From: Scott LambDate: 2002-11-14 01:20:33
Subject: Re: setUseServerPrepare & typecasts

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