pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephane Bailliez <sbailliez@gmail.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Exception while doing ResultSetMetadata.getColumnName()   after select setval()
Date: Tue, 18 Sep 2007 13:03:08 +0200
Message-ID: <fcobbt$ve8$1@sea.gmane.org> (raw)
In-Reply-To: <Pine.BSO.4.64.0709172009410.10954@leary.csoft.net>
References: <fcmv9h$eki$1@sea.gmane.org>
	<Pine.BSO.4.64.0709172009410.10954@leary.csoft.net>

Kris Jurka wrote:
> 
> In JDBC columns go from 1 -> count, not 0 -> count-1.

ah.. one more reason to get rid of this script I suppose. Thanks for the 
heads up.


for the records, the previous workaround was of course not working..(I 
put that on the lack of sleep) it needed to be wrapped into insert in a 
temp table to avoid the result set issue.

cheers,

-- stephane





view thread (3+ messages)

Message-ID: <fcobbt$ve8$1@sea.gmane.org>
Permalink:  ../fcobbt$ve8$1@sea.gmane.org/
Also on:    postgresql.org/message-id/fcobbt$ve8$1@sea.gmane.org

 · 

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: sbailliez@gmail.com
  Subject: Re: Exception while doing ResultSetMetadata.getColumnName()   after select setval()
  In-Reply-To: <fcobbt$ve8$1@sea.gmane.org>
  References: <fcmv9h$eki$1@sea.gmane.org> <Pine.BSO.4.64.0709172009410.10954@leary.csoft.net> <fcobbt$ve8$1@sea.gmane.org>

* 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