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

Re: 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: Re: Invalid column display size. Cannot be less than zero
Date: 2006-07-26 06:44:35
Message-ID: 1153896275.716510.310390@s13g2000cwa.googlegroups.com (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-jdbc
Kris Jurka ha scritto:

> On Tue, 25 Jul 2006, alan wrote:
>
> > I'm using postgresql-8.1-407.jdbc3.jar.
> >
> > java.sql.SQLException: Invalid column display size. Cannot be less than
> > zero
> >
> > Someone has news about this issue?
> >
>
> A fix has been put into the 8.2-dev series.  Try that jar file.
>
> Kris Jurka
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
>                http://archives.postgresql.org
Kris,
I tried the jar postgresql-8.2dev-503.jdbc3.jar. The exception now is

java.sql.SQLException: Invalid precision value. Cannot be less than
zero
	at
javax.sql.rowset.RowSetMetaDataImpl.setPrecision(RowSetMetaDataImpl.java:354)
	at
com.sun.rowset.CachedRowSetImpl.initMetaData(CachedRowSetImpl.java:706)
	at com.sun.rowset.CachedRowSetImpl.populate(CachedRowSetImpl.java:620)
	at com.mainfield.norge.test.TestJoinRowSet.run(TestJoinRowSet.java:43)
	at
com.mainfield.norge.test.TestJoinRowSet.main(TestJoinRowSet.java:69)

Thanks,
Regards.


In response to

Responses

pgsql-jdbc by date

Next:From: Csaba NagyDate: 2006-07-26 08:02:41
Subject: Re: streaming bytea: is it possible ?
Previous:From: Mikko TiihonenDate: 2006-07-25 19:35:01
Subject: Query parsing speedup patch

pgsql-general by date

Next:From: Isak HansenDate: 2006-07-26 10:13:36
Subject: Constraint on an aggregate? (need help writing trigger, i think..)
Previous:From: A. KretschmerDate: 2006-07-26 05:42:26
Subject: Re: question about default value and timestamp

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