Re: Reading schema information - Mailing list pgsql-jdbc

From dmp
Subject Re: Reading schema information
Date
Msg-id 556485A3.6070700@ttc-cmc.net
Whole thread Raw
In response to Reading schema information  (Mansour Al Akeel <mansour.alakeel@gmail.com>)
List pgsql-jdbc
 > Index 23 is IS_AUTOINCREMENT which does not have the same meaning as
 > IS_GENERATEDCOLUMN (index 24) which was added to the JDBC specification in
 > Java 7 / JDBC 4.1. The former is only for one specific column type: auto
 > increment (eg serial), while the latter is for all calculated or otherwise
 > generated columns.
 >
 > Mark

Yes, that is correct. I was looling at the code array indexing not the
API. rs.getString(24) is the correct index and IS_GENERATEDCOLUMN is not
implemented in getColumns().

danap.


pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Reading schema information
Next
From: Thomas Kellerer
Date:
Subject: CallableStatement.getParameterMetaData() throws exception for valid {call ...} statement