Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YxFqH-0004Sv-OP for pgsql-jdbc@arkaria.postgresql.org; Tue, 26 May 2015 14:28:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YxFqH-0001pc-5I for pgsql-jdbc@arkaria.postgresql.org; Tue, 26 May 2015 14:28:29 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YxFqG-0001pT-9R for pgsql-jdbc@postgresql.org; Tue, 26 May 2015 14:28:28 +0000 Received: from rad0.itstriangle.com ([199.38.107.90]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1YxFqB-0007OF-5Y for pgsql-jdbc@postgresql.org; Tue, 26 May 2015 14:28:26 +0000 Received: from itstriangle.com (localhost [127.0.0.1]) by rad0.itstriangle.com (8.14.4/8.14.4) with ESMTP id t4QESGEG020034 for ; Tue, 26 May 2015 10:28:17 -0400 Received: FROM [192.168.157.52] ([216.220.4.222]) BY itstriangle.com WITH ESMTP ; Tue, 26 May 2015 10:28:15 -0400 Message-ID: <556485A3.6070700@ttc-cmc.net> Date: Tue, 26 May 2015 08:39:31 -0600 From: dmp User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Firefox/24.0 SeaMonkey/2.21 MIME-Version: 1.0 To: PostgreSQL JDBC Subject: Re: Reading schema information Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org > 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. -- Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-jdbc