> Bruce Momjian writes:
> > I noticed that jdbc1 getBoolean allows '1', while jdbc2 does not. The
> > following patch makes jdbc2 accept '1' also. Is this OK?
> Why? Booleans always come out as 't' or 'f'.
Someone emailed me privately that they wanted to use '1' for boolean.
No idea why, and no idea why jdbc1 has it.
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
In response to
pgsql-jdbc by date
|Next:||From: Marc G. Fournier||Date: 2001-09-13 19:45:36|
|Subject: Re: [JDBC] Re: What needs to be done?|
|Previous:||From: Peter Eisentraut||Date: 2001-09-13 19:24:28|
|Subject: Re: Using boolean '1' in jdbc2|