From: pedro farinha <op217537@mail.telepac.pt>
To: pgsql-jdbc@postgresql.org
Subject: Again the JSCreator and Metadata issues
Date: Thu, 17 Nov 2005 02:15:45 +0000
Message-ID: <1132193745.6622.9.camel@localhost.localdomain> (raw)
Hi,
I am testing the new JSC2 early access and I come across a old
problem....getResultMetaData null values (I think).
In JSC 1 the driver works fine but on this early access version it
doesn't.
I am posting what I think is relevant of the trace.
I am not sure if this is a issue with the driver or the JSC it self so I
am posting this into here as well as into the EAfeedback program.
any ideas?
psql Version is 8.0.1
JDBC postgresql-8.1-404.jdbc2ee.jar or postgresql-8.1-404.jdbc3.jar.
java.lang.RuntimeException: java.sql.SQLException: Invalid column
display size. Cannot be less than zero
at
com.sun.data.provider.impl.CachedRowSetDataProvider.getMetaData(CachedRowSetDataProvider.java:1299)
at
com.sun.data.provider.impl.CachedRowSetDataProvider.getFieldKeys(CachedRowSetDataProvider.java:485)
at
com.sun.rave.propertyeditors.binding.data.BindValueToDataProviderPanel.propertyChanged(BindValueToDataProviderPanel.java:415)
at
com.sun.rave.insync.live.LiveUnit.firePropertyChanged(LiveUnit.java:1755)
(...)
Caused by: java.sql.SQLException: Invalid column display size. Cannot be
less than zero
at
javax.sql.rowset.RowSetMetaDataImpl.setColumnDisplaySize(RowSetMetaDataImpl.java:267)
at
com.sun.sql.rowset.CachedRowSetXImpl.initMetaData(CachedRowSetXImpl.java:872)
at
com.sun.sql.rowset.CachedRowSetXImpl.getMetaData(CachedRowSetXImpl.java:2337)
at
com.sun.data.provider.impl.CachedRowSetDataProvider.getMetaData(CachedRowSetDataProvider.java:1297)
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: op217537@mail.telepac.pt
Subject: Re: Again the JSCreator and Metadata issues
In-Reply-To: <1132193745.6622.9.camel@localhost.localdomain>
References: <1132193745.6622.9.camel@localhost.localdomain>
* 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