RE: Fixing SQLException error codes.

From: Joe Shevland <J(dot)Shevland(at)eclipsegroup(dot)com(dot)au>
To: "'Martin Algesten'" <martin(at)taglab(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: RE: Fixing SQLException error codes.
Date: 2001-06-24 10:16:40
Message-ID: C56487636E5CD4119B1E00D0B789098ADA2BFD@MEL-EXCH1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

This would be a very handy feature, Oracle's JDBC implementation does this
and it makes it nice and easy to produce descriptive error messages for the
end user (among other things).

I'm wondering if there are standard error codes returned by the backend or
whether you need to create new ones. I can't see there being any problem
with it though. I've got a few links to the Oracle JDBC error codes if you
want a reference.

Regards,
Joe

> -----Original Message-----
> From: Martin Algesten [mailto:martin(at)taglab(dot)com]
> Sent: Sunday, 24 June 2001 7:41 PM
> To: pgsql-jdbc(at)postgresql(dot)org
> Subject: [JDBC] Fixing SQLException error codes.
>
>
> Hi all!
>
> I would like to have the problem with the getErrorCode in SQLException
> always returning 0 fixed. So I figured, why don't do it
> myself? ... Just tot
> check before I start looking at it...
>
> Has there been any attempt fixing it? Are someone doing it
> anyway? Are there
> any known problems with doing it?
>
> Cheers,
> Martin
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to
> majordomo(at)postgresql(dot)org
>

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Martin Algesten 2001-06-24 19:53:22 Re: Fixing SQLException error codes.
Previous Message Martin Algesten 2001-06-24 09:40:33 Fixing SQLException error codes.