pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: Peter.Zoche@materna.de
Cc: pgsql-jdbc@postgresql.org
Subject: Re: SQLException and error code
Date: Fri, 29 Jul 2005 12:31:39 +1200
Message-ID: <42E978EB.6020003@opencloud.com> (raw)
In-Reply-To: <s2e8afd3.056@gwmta.wicourts.gov>
References: <s2e8afd3.056@gwmta.wicourts.gov>

Kevin Grittner wrote:
> To better support existing applications which (for reasons I don't
> really understand) rely on the vendor-specific errorCode instead of the
> ANSI-standard sqlState, you could implement getErrorCode as:
>  
>     return Integer.parseInt(getSqlState(), 36);

Ow! It seems a bit pointless though, honestly..

Going to wait for a reply from the original poster, I still don't
understand what Peter wants getErrorCode() to return..

-O



view thread (8+ messages)  latest in thread

Message-ID: <42E978EB.6020003@opencloud.com>
Permalink:  ../42E978EB.6020003@opencloud.com/
Also on:    postgresql.org/message-id/42E978EB.6020003@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, Kevin.Grittner@wicourts.gov, Peter.Zoche@materna.de
  Subject: Re: SQLException and error code
  In-Reply-To: <42E978EB.6020003@opencloud.com>
  References: <s2e8afd3.056@gwmta.wicourts.gov> <42E978EB.6020003@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox