Re: Using boolean '1' in jdbc2 - Mailing list pgsql-jdbc

From Peter Eisentraut
Subject Re: Using boolean '1' in jdbc2
Date
Msg-id Pine.LNX.4.30.0109132124140.680-100000@peter.localdomain
Whole thread Raw
In response to Using boolean '1' in jdbc2  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Using boolean '1' in jdbc2  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-jdbc
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'.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-jdbc by date:

Previous
From: "Glenn R. Kronschnabl"
Date:
Subject: [Fwd: Re: A Bug Fix - Is this a real bug? Has this already been fixed?]
Next
From: Bruce Momjian
Date:
Subject: Re: Using boolean '1' in jdbc2