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: (view raw, whole thread or download thread mbox)
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 T Mount peter(at)retep(dot)org(dot)uk
      Main Homepage:
PostgreSQL JDBC Faq:
 Java PDF Generator:

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-2017 The PostgreSQL Global Development Group