Re: JDBC bug?

Поиск
Список
Период
Сортировка
Искать
От
Kris Jurka
Тема
Re: JDBC bug?
Дата
Msg-id
Pine.BSO.4.64.0902111319350.1597@leary.csoft.net
Ответ на
JDBC bug? (Lutischán Ferenc)
Список
Дерево обсуждения
JDBC bug? Lutischán Ferenc <lutischanf@gmail.com>
Re: JDBC bug? Kris Jurka <books@ejurka.com>
Re: JDBC bug? Lutischán Ferenc <lutischanf@gmail.com>


On Wed, 11 Feb 2009, Lutischán Ferenc wrote:

> I found the following bug:
> Connect to database with password that contains special chars (E.g.: 
> Nyárfa10)  DriverManager.getConnection( dbUrl,   user,  pwd); will fail with:
> org.postgresql.util.PSQLException: FATAL: password authentication failed for 
> user "xy"
>
> jdbc driver: 8-3-603 with 8.3.6 postgresql
> From pgadmin connection is good with 'Nyárfa10' password.
>

A change to fix this has been made to the 8.4 driver series, so you will 
need to try the 8.4dev release.  It sends the password in UTF-8, which 
means you must set the password when connected to a UTF-8 database so it 
gets stored that way it the database.

Kris Jurka
В списке pgsql-jdbc по дате отправления
От: Lutischán Ferenc
Дата:
Сообщение: JDBC bug?
От: Lutischán Ferenc
Дата:
Сообщение: Re: JDBC bug?
FAQ