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

Invalid column display size. Cannot be less than zero

From: "alan" <a(dot)alerta(at)mainfield(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Invalid column display size. Cannot be less than zero
Date: 2006-07-25 10:42:36
Message-ID: 1153824156.741368.110180@h48g2000cwc.googlegroups.com (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-jdbc
Hi all!

I'm using postgresql-8.1-407.jdbc3.jar.

The following code:
CachedRowSet cachedRowSet = new CachedRowSetImpl();
cachedRowSet.populate(resultSet);

raise the following exception:
java.sql.SQLException: Invalid column display size. Cannot be less than
zero
	at
javax.sql.rowset.RowSetMetaDataImpl.setColumnDisplaySize(RowSetMetaDataImpl.java:267)
	at
com.sun.rowset.CachedRowSetImpl.initMetaData(CachedRowSetImpl.java:702)
	at com.sun.rowset.CachedRowSetImpl.populate(CachedRowSetImpl.java:620)
	at com.mainfield.test.TestJoinRowSet.run(TestJoinRowSet.java:47)
	at com.mainfield.test.TestJoinRowSet.main(TestJoinRowSet.java:71)

Last informations available about this issue it's on this mailing list
one year ago.
Someone has news about this issue?

Many thanks!
Regards.


Responses

pgsql-jdbc by date

Next:From: surabhi.ahujaDate: 2006-07-25 11:26:57
Subject: error code when database does not exist
Previous:From: Akira SatoDate: 2006-07-25 01:42:54
Subject: PreparedStatement clearParameters and setTimestamp

pgsql-general by date

Next:From: surabhi.ahujaDate: 2006-07-25 11:26:57
Subject: error code when database does not exist
Previous:From: Christian RengstlDate: 2006-07-25 10:11:06
Subject: Archiving wal files

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