X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 7964F9FB206 for ; Tue, 25 Jul 2006 12:27:20 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 24935-08 for ; Tue, 25 Jul 2006 15:27:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 797F89FB378 for ; Tue, 25 Jul 2006 09:04:17 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id F0BA430904; Tue, 25 Jul 2006 14:04:15 +0200 (MET DST) From: "alan" X-Newsgroups: pgsql.interfaces.jdbc Subject: Invalid column display size. Cannot be less than zero Date: 25 Jul 2006 05:04:08 -0700 Organization: http://groups.google.com Lines: 129 Message-ID: <1153829048.930369.247850@s13g2000cwa.googlegroups.com> References: <1153824156.741368.110180@h48g2000cwc.googlegroups.com> <8626C1B7EB748940BCDD7596134632BE39869B@jal.iiitb.ac.in> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Complaints-To: groups-abuse@google.com In-Reply-To: <8626C1B7EB748940BCDD7596134632BE39869B@jal.iiitb.ac.in> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it-IT; rv:1.7.12) Gecko/20050915,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: s13g2000cwa.googlegroups.com; posting-host=62.101.126.230; posting-account=grfFyQ0AAABGO3ilxXcWTTl2FItvFMVY To: pgsql-jdbc@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200607/79 X-Sequence-Number: 15505 "surabhi.ahuja" ha scritto: > 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@postgresql.org on behalf of alan > Sent: Tue 7/25/2006 4:12 PM > To: pgsql-jdbc@postgresql.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 > > > > > ------_=_NextPart_001_01C6AFDD.CE284DAA > Content-Type: text/html; charset=iso-8859-1 > Content-Transfer-Encoding: quoted-printable > X-Google-AttachSize: 2992 > > > > > > > > [JDBC] Invalid column display size. Cannot be less than zero > > >
>
 
>
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
>
 
>
href="http://www.postgresql.org/docs/8.0/static/errcodes-appendix.html">http://www.postgresql.org/docs/8.0/static/errcodes-appendix.html
>
 
>
thanks,
>
regards
>
Surabhi
>
>
>
>
From: > pgsql-jdbc-owner@postgresql.org on behalf of alan
Sent: Tue 7/25/2006 > 4:12 PM
To: pgsql-jdbc@postgresql.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

> > > > ------_=_NextPart_001_01C6AFDD.CE284DAA-- For "surabhi.ahuja": Please start a new thread with your question. Thanks. Back to my problem.... Same problem also with postgresql-8.2dev-503.jdbc3.jar Thanks. Regards.