Skip site navigation (1) Skip section navigation (2)

Re: How to get Error Codes

From: Kris Jurka <books(at)ejurka(dot)com>
To: "Sica, David (David)" <dsica(at)avaya(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: How to get Error Codes
Date: 2004-04-10 14:05:52
Message-ID: Pine.BSO.4.56.0404100904180.4634@leary.csoft.net (view raw or flat)
Thread:
Lists: pgsql-jdbc

On Wed, 7 Apr 2004, Sica, David (David) wrote:

> I've just installed PostgreSQL 7.4.2 in hopes of being able to retrieve
> error codes from the database.  Is there any information out there on
> how to retrieve error codes using the latest JDBC driver?
> 

See java.sql.SQLException#getSQLState()

Kris Jurka

In response to

pgsql-jdbc by date

Next:From: vijay raghavaDate: 2004-04-10 15:44:09
Subject: PostgreSQL and MySql
Previous:From: Kris JurkaDate: 2004-04-10 14:04:07
Subject: Re: Connection Idle in transaction

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group