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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-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

Browse pgsql-general by date

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

Browse pgsql-jdbc by date

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