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

Re: [INTERFACES] jdbc and booleans

From: Peter Mount <peter(at)retep(dot)org(dot)uk>
To: Joseph Shraibman <jks(at)p1(dot)selectacast(dot)net>
Cc: "pgsql-interfaces(at)postgreSQL(dot)org" <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: [INTERFACES] jdbc and booleans
Date: 1999-12-28 12:05:00
Message-ID: Pine.LNX.4.10.9912281203160.4876-100000@maidast.retep.org.uk (view raw or flat)
Thread:
Lists: pgsql-interfaces
On Mon, 27 Dec 1999, Joseph Shraibman wrote:

> How come boolean values return by the jdbc drivers come as a String of
> value "t" instead of a Boolean?

If you use getString(), then you will get the PostgreSQL representation,
which is 't'. getBoolean() will return true or false.

Peter

--
       Peter T Mount peter(at)retep(dot)org(dot)uk
      Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
 Java PDF Generator: http://www.retep.org.uk/pdf


In response to

pgsql-interfaces by date

Next:From: Peter MountDate: 1999-12-28 12:49:06
Subject: Re: [INTERFACES] RE: ODBC and RDO
Previous:From: Hossein S. ZadehDate: 1999-12-28 11:14:45
Subject: Re: [INTERFACES] RE: ODBC and RDO

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