pg.ddx.io pgsql-interfaces@postgresql.org mailing list archive
help / color / mirror / Atom feedjdbc and booleans
2+ messages / 2 participants
[nested] [flat]
* jdbc and booleans
@ 1999-12-28 00:46 Joseph Shraibman <jks@p1.selectacast.net>
1999-12-28 12:05 ` Re: [INTERFACES] jdbc and booleans Peter Mount <peter@retep.org.uk>
0 siblings, 1 reply; 2+ messages in thread
From: Joseph Shraibman @ 1999-12-28 00:46 UTC (permalink / raw)
To: pgsql-interfaces
How come boolean values return by the jdbc drivers come as a String of
value "t" instead of a Boolean?
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [INTERFACES] jdbc and booleans
1999-12-28 00:46 jdbc and booleans Joseph Shraibman <jks@p1.selectacast.net>
@ 1999-12-28 12:05 ` Peter Mount <peter@retep.org.uk>
0 siblings, 0 replies; 2+ messages in thread
From: Peter Mount @ 1999-12-28 12:05 UTC (permalink / raw)
To: Joseph Shraibman <jks@p1.selectacast.net>; +Cc: 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@retep.org.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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~1999-12-28 12:05 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-12-28 00:46 jdbc and booleans Joseph Shraibman <jks@p1.selectacast.net>
1999-12-28 12:05 ` Peter Mount <peter@retep.org.uk>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox