Re: Using boolean '1' in jdbc2

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL jdbc list <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Using boolean '1' in jdbc2
Date: 2001-09-13 19:24:28
Message-ID: Pine.LNX.4.30.0109132124140.680-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Bruce Momjian 2001-09-13 19:29:38 Re: Using boolean '1' in jdbc2
Previous Message Barry Lind 2001-09-13 18:50:56 Re: Transaction size limit & Data Truncation