From: Gilbert, Antoine <AGilbert@korem.com>
To: pgsql-jdbc@postgresql.org
Subject: jdbc problem
Date: Mon, 16 Jan 2006 11:21:58 -0500
Message-ID: <DF58692A2DBF5440910BFE80B73D73E101596E8D@sqexc02.korem.local> (raw)
Hi
I'am fetching records via the PostgreSQL JDBC driver.
I have a strange problem. The string values always have some blank
characters (or tab?) at the end.
So if I have in the database 'British Columbia', it become in my java
program with rs.getString() something like 'British Columbia '.
The select I'm using is basic : select Province_name from myTable
When I try this query in the PostgreSQL admin console, I don't have this
problem.
Any idea?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: AGilbert@korem.com
Subject: Re: jdbc problem
In-Reply-To: <DF58692A2DBF5440910BFE80B73D73E101596E8D@sqexc02.korem.local>
References: <DF58692A2DBF5440910BFE80B73D73E101596E8D@sqexc02.korem.local>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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