Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group