Invalid column display size. Cannot be less than zero

Поиск
Список
Период
Сортировка
От alan
Тема Invalid column display size. Cannot be less than zero
Дата
Msg-id 1153824156.741368.110180@h48g2000cwc.googlegroups.com
обсуждение исходный текст
Ответы Re: Invalid column display size. Cannot be less than zero
Re: Invalid column display size. Cannot be less than zero
Список pgsql-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.


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Akira Sato
Дата:
Сообщение: PreparedStatement clearParameters and setTimestamp
Следующее
От: "surabhi.ahuja"
Дата:
Сообщение: error code when database does not exist