Re: Getting status on login failure - Mailing list pgsql-jdbc

From Kevin Grittner
Subject Re: Getting status on login failure
Date
Msg-id s3429edb.053@gwmta.wicourts.gov
Whole thread Raw
In response to Getting status on login failure  (Andres Olarte <olarte.andres@gmail.com>)
List 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 by date:

Previous
From: Jeremy LaCivita
Date:
Subject: Re: Selecting on non ASCII varchars
Next
From: "Kevin Grittner"
Date:
Subject: Re: Selecting on non ASCII varchars