Re: Exception while doing ResultSetMetadata.getColumnName() after select setval()

From: Stephane Bailliez <sbailliez(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Exception while doing ResultSetMetadata.getColumnName() after select setval()
Date: 2007-09-18 11:03:08
Message-ID: fcobbt$ve8$1@sea.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Berkes Alexander 2007-09-18 12:33:55 AbstractJdbc2Connection.java getObject(String type, String value)
Previous Message Kris Jurka 2007-09-18 00:10:46 Re: Exception while doing ResultSetMetadata.getColumnName() after select setval()