Re: Exception while doing ResultSetMetadata.getColumnName() after select setval() - Mailing list pgsql-jdbc

From Stephane Bailliez
Subject Re: Exception while doing ResultSetMetadata.getColumnName() after select setval()
Date
Msg-id fcobbt$ve8$1@sea.gmane.org
Whole thread Raw
In response to Re: Exception while doing ResultSetMetadata.getColumnName() after select setval()  (Kris Jurka <books@ejurka.com>)
List 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


pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: Exception while doing ResultSetMetadata.getColumnName() after select setval()
Next
From: Eric Faulhaber
Date:
Subject: Re: Batch INSERT failing with error 22P02