X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D37DED7FA3 for ; Wed, 16 Nov 2005 22:22:25 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 89830-06 for ; Thu, 17 Nov 2005 02:22:28 +0000 (GMT) X-Greylist: delayed 00:06:34.586073 by SQLgrey- Received: from sapo.pt (relay6.ptmail.sapo.pt [212.55.154.26]) by svr1.postgresql.org (Postfix) with SMTP id CFD95D6853 for ; Wed, 16 Nov 2005 22:22:22 -0400 (AST) Received: (qmail 16767 invoked by uid 0); 17 Nov 2005 02:15:47 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.156) by relay6 with SMTP; 17 Nov 2005 02:15:47 -0000 Received: (qmail 5094 invoked from network); 17 Nov 2005 02:15:46 -0000 X-AntiVirus: PTMail-AV 0.3.87.1 X-Virus-Status: Clean (0.01428 seconds) Received: from unknown (HELO [10.0.0.6]) (op217537@[81.193.155.57]) (envelope-sender ) by mta6 (qmail-ldap-1.03) with SMTP for ; 17 Nov 2005 02:15:46 -0000 Subject: Again the JSCreator and Metadata issues From: pedro farinha To: pgsql-jdbc@postgresql.org Content-Type: multipart/alternative; boundary="=-MpHlH3CYisY7e1N4O11b" Message-Id: <1132193745.6622.9.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Thu, 17 Nov 2005 02:15:45 +0000 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=2.865 required=5 tests=[DNS_FROM_RFC_ABUSE=0.479, DNS_FROM_RFC_POST=1.44, HTML_10_20=0.945, HTML_MESSAGE=0.001] X-Spam-Score: 2.865 X-Spam-Level: ** X-Archive-Number: 200511/109 X-Sequence-Number: 14207 --=-MpHlH3CYisY7e1N4O11b Content-Type: text/plain Content-Transfer-Encoding: 7bit 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) --=-MpHlH3CYisY7e1N4O11b Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit 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)

--=-MpHlH3CYisY7e1N4O11b--