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

Re: Allow setObject(x,y,Types.INTEGER) if y is Boolean &

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: Kim Ho <kho(at)redhat(dot)com>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>,pgsql-jdbc-list <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Allow setObject(x,y,Types.INTEGER) if y is Boolean &
Date: 2003-06-30 21:11:04
Message-ID: 1057007464.26621.97.camel@localhost.localdomain (view raw or flat)
Thread:
Lists: pgsql-jdbcpgsql-patches
Patch applied,

thanks,

dave
On Thu, 2003-06-19 at 16:51, Kim Ho wrote:
> Problem:
>  - Boolean not on list of SQLKeywords (The JDBC CTS seems to think that
> it should be)
>  - setObject(x,y,Types.INTEGER) will throw exceptions if y is a Boolean.
> 
> Fix:
>  - Added Boolean to Keywords list.
>  - Added check in setObject() under Types.INTEGER to check if a boolean
> is passed. True=1. False=0. Is consistent with the rest of the code.
> 
> Cheers,
> 
> Kim
> 
> ______________________________________________________________________
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
-- 
Dave Cramer <Dave(at)micro-automation(dot)net>


In response to

pgsql-patches by date

Next:From: Jean-Michel POUREDate: 2003-06-30 21:24:08
Subject: Re: pgAdmin3 translation request into Hungarian
Previous:From: Dave CramerDate: 2003-06-30 21:09:46
Subject: Re: Allow setObject(x,y,Types.BIT) if y is a Number &

pgsql-jdbc by date

Next:From: Andreas KochDate: 2003-07-01 10:33:20
Subject: Populating a database with huge amounts of data
Previous:From: Dave CramerDate: 2003-06-30 21:09:46
Subject: Re: Allow setObject(x,y,Types.BIT) if y is a Number &

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