error code when database does not exist

From: "surabhi(dot)ahuja" <surabhi(dot)ahuja(at)iiitb(dot)ac(dot)in>
To: "alan" <a(dot)alerta(at)mainfield(dot)com>, <pgsql-jdbc(at)postgresql(dot)org>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: error code when database does not exist
Date: 2006-07-25 11:26:57
Message-ID: 8626C1B7EB748940BCDD7596134632BE39869B@jal.iiitb.ac.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc


i want to know what error code will be returned if the database does not exist.

i have the following list, howvere do not know which one shall be returned when database itself does not exits

http://www.postgresql.org/docs/8.0/static/errcodes-appendix.html

thanks,
regards
Surabhi

________________________________

From: pgsql-jdbc-owner(at)postgresql(dot)org on behalf of alan
Sent: Tue 7/25/2006 4:12 PM
To: pgsql-jdbc(at)postgresql(dot)org
Subject: [JDBC] Invalid column display size. Cannot be less than zero

***********************
Your mail has been scanned by InterScan VirusWall.
***********-***********

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.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message alan 2006-07-25 12:04:08 Invalid column display size. Cannot be less than zero
Previous Message alan 2006-07-25 10:42:36 Invalid column display size. Cannot be less than zero

Browse pgsql-jdbc by date

  From Date Subject
Next Message alan 2006-07-25 12:04:08 Invalid column display size. Cannot be less than zero
Previous Message alan 2006-07-25 10:42:36 Invalid column display size. Cannot be less than zero