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

JDBC SQLStatus for Dynamic SQL, unsupported feature, invalid transaction state and others

From: Fernando Nasser <fnasser(at)redhat(dot)com>
To: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: JDBC SQLStatus for Dynamic SQL, unsupported feature, invalid transaction state and others
Date: 2002-11-25 22:44:37
Message-ID: 3DE2A7D5.1000107@redhat.com (view raw or flat)
Thread:
Lists: pgsql-patches
This patch includes all the others and adds SQLState support for the following 
additional conditions:

     public static final PSQLState parameter_mismatch = new PSQLState("07001");
     public static final PSQLState inv_parameter_type = new PSQLState("07006");
     public static final PSQLState unable_to_connect = new PSQLState("08001");
     public static final PSQLState inexistent_connection = new PSQLState("08003");
     public static final PSQLState connection_rejected = new PSQLState("08004");
     public static final PSQLState connection_failure = new PSQLState("08006");
     public static final PSQLState feature_not_supported = new PSQLState("0A000");
     public static final PSQLState data_exception = new PSQLState("22000");
     public static final PSQLState inv_transaction_state = new PSQLState("25000");

-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser(at)redhat(dot)com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

Attachment: JDBCCURRENT.PATCH
Description: text/plain (39.6 KB)

Responses

pgsql-patches by date

Next:From: Barry LindDate: 2002-11-26 01:26:44
Subject: Re: JDBC SQLStatus for Dynamic SQL, unsupported feature,
Previous:From: Fernando NasserDate: 2002-11-25 22:28:39
Subject: JDBC Issue warning if could not find encoding

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