pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Wooten <kdubb@me.com>
To: REBruchs <REBruchs@cfl.rr.com>
Cc: dmp <danap@ttc-cmc.net>
Cc: PostgreSQL JDBC <pgsql-jdbc@postgresql.org>
Subject: Re: JDBC 4 Compliance
Date: Sat, 22 Jun 2013 15:18:40 -0700
Message-ID: <08116D2F-71BD-41A0-B34C-EEBCEB6027B6@me.com> (raw)
In-Reply-To: <F648BBFB15BE4DC6B1429A916F23DFC1@polaris>
References: <4B8A7D9B462A43EFBAFB9993F4B086BE@polaris>
	<51C5D5A3.8060709@ttc-cmc.net>
	<08220F39-CDA1-4B7C-A286-E83AA83B5D18@me.com>
	<F648BBFB15BE4DC6B1429A916F23DFC1@polaris>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>

Yes. You are referencing the Java 7 documentation which, as I referenced previously, is JDBC 4.1; the mainstream driver does not currently only covers JDBC 4.

If you look at the same Java 6 docs (http://docs.oracle.com/javase/6/docs/api/java/sql/DatabaseMetaData.html), which is JDBC 4, you'll see that there is no 24th column.


On Jun 22, 2013, at 1:50 PM, REBruchs <REBruchs@cfl.rr.com> wrote:

> Please see the Oracle JAVA SE API documentation at
> http://docs.oracle.com/javase/7/docs/api/java/sql/DatabaseMetaData.html
> 
> Refer to method getColumns(), column 24 IS_GENERATEDCOLUMN
> 
> Thanks for looking into this.
> 
> -----Original Message-----
> From: Kevin Wooten [mailto:kdubb@me.com] 
> Sent: Saturday, June 22, 2013 2:13 PM
> To: dmp
> Cc: REBruchs; PostgreSQL JDBC
> Subject: Re: [JDBC] JDBC 4 Compliance
> 
> This column is defined in JDBC 4.1 which is not supported by the driver.
> 
> It is supported in my separate implementation of the driver. pgjdbc-ng
> <https://github.com/kdubb/pgjdbc-ng; 
> 
> 
> On Jun 22, 2013, at 9:49 AM, dmp <danap@ttc-cmc.net> wrote:
> 
> 
> 	It does not appear that method in the Java Docs defines such a
> 	column, IS_GENERATEDCOLUMN, to be returned. The code also does
> 	not indicated any such column. IS_AUTOINCREMENT maybe? Can you
> 	please clarify?
> 	
> 	danap.
> 	
> 	REBruchs wrote:
> 	
> 
> 		The 9.2-1002 JDBC 4 driver version does not appear to
> provide the
> 		IS_GENERATEDCOLUMN column in the ResultSet returned by
> 		
> 		ResultSet DatabaseMetaData.getColumns(String catalog,
> 		                   String schemaPattern,
> 		                   String tableNamePattern,
> 		                   String columnNamePattern)
> 		
> 		
> 		
> 		
> 
> 
> 
> 	-- 
> 	Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
> 	To make changes to your subscription:
> 	http://www.postgresql.org/mailpref/pgsql-jdbc
> 	
> 
> 
> 
> 
> 
> -- 
> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc



-- 
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



view thread (76+ messages)  latest in thread

Message-ID: <08116D2F-71BD-41A0-B34C-EEBCEB6027B6@me.com>
Permalink:  ../08116D2F-71BD-41A0-B34C-EEBCEB6027B6@me.com/
Also on:    postgresql.org/message-id/08116D2F-71BD-41A0-B34C-EEBCEB6027B6@me.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: kdubb@me.com, REBruchs@cfl.rr.com, danap@ttc-cmc.net
  Subject: Re: JDBC 4 Compliance
  In-Reply-To: <08116D2F-71BD-41A0-B34C-EEBCEB6027B6@me.com>
  References: <4B8A7D9B462A43EFBAFB9993F4B086BE@polaris> <51C5D5A3.8060709@ttc-cmc.net> <08220F39-CDA1-4B7C-A286-E83AA83B5D18@me.com> <F648BBFB15BE4DC6B1429A916F23DFC1@polaris> <08116D2F-71BD-41A0-B34C-EEBCEB6027B6@me.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