Re: Getting status on login failure

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Getting status on login failure
Дата
Msg-id s3429edb.053@gwmta.wicourts.gov
обсуждение исходный текст
Ответ на Getting status on login failure  (Andres Olarte <olarte.andres@gmail.com>)
Список pgsql-jdbc
Have you tried getSQLState() ?

>>> Andres Olarte <olarte.andres@gmail.com> 10/04/05 3:05 PM >>>
Is it possible to get an status code on login failure?  The exception
does return some useful info, but if it's possible to get an error
code, It'll  be easier to show some userfriendly message to the  user
(in spanish, which is another issue).  The code of the exception
always reports 0.

Best Regards,

Andres

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Jeremy LaCivita
Дата:
Сообщение: Re: Selecting on non ASCII varchars
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Selecting on non ASCII varchars