jdbc problem

From: "Gilbert, Antoine" <AGilbert(at)korem(dot)com>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: jdbc problem
Date: 2006-01-16 16:21:58
Message-ID: DF58692A2DBF5440910BFE80B73D73E101596E8D@sqexc02.korem.local
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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?

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Roland Walter 2006-01-16 16:39:28 Re: jdbc problem
Previous Message Campbell, Greg 2006-01-16 15:19:13 Re: Stored Procedures