jdbc problem

Поиск
Список
Период
Сортировка

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 по дате отправления: