Using boolean '1' in jdbc2

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL jdbc list <pgsql-jdbc(at)postgresql(dot)org>
Subject: Using boolean '1' in jdbc2
Date: 2001-09-13 16:52:00
Message-ID: 200109131652.f8DGq0o25357@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I noticed that jdbc1 getBoolean allows '1', while jdbc2 does not. The
following patch makes jdbc2 accept '1' also. Is this OK?

--
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

Attachment Content-Type Size
unknown_filename text/plain 788 bytes

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Glenn R. Kronschnabl 2001-09-13 17:17:24 [Fwd: Re: A Bug Fix - Is this a real bug? Has this already been fixed?]
Previous Message Palle Girgensohn 2001-09-13 15:34:44 Re: SocketException on connect, busy server