jdbc problem
От
Gilbert, Antoine
Тема
jdbc problem
Дата
Msg-id
DF58692A2DBF5440910BFE80B73D73E101596E8D@sqexc02.korem.local
Список
Дерево обсуждения
jdbc problem "Gilbert, Antoine" <AGilbert@korem.com>
Re: jdbc problem Roland Walter <rwa@mosaic-ag.com>
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?
В списке pgsql-jdbc по дате отправления