Re: Invalid column display size. Cannot be less than zero

From: Kris Jurka <books(at)ejurka(dot)com>
To: alan <a(dot)alerta(at)mainfield(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Invalid column display size. Cannot be less than zero
Date: 2006-07-26 15:42:56
Message-ID: Pine.BSO.4.63.0607261040280.15540@leary2.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

On Wed, 25 Jul 2006, alan wrote:

>
> 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)

This thread here kind of trailed off without any resolution. I'm willing
to use precision zero for text types, but I still don't have a good idea
of what to do with unadorned numeric values. Anyone else?

http://archives.postgresql.org/pgsql-jdbc/2006-06/threads.php#00090

Kris Jurka

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Reece Hart 2006-07-26 15:48:14 Re: Mapping/DB Migration tool
Previous Message Kenneth Downs 2006-07-26 14:59:35 Re: Constraint on an aggregate? (need help writing trigger,

Browse pgsql-jdbc by date

  From Date Subject
Next Message Peter Neu 2006-07-27 08:44:58 Simple way to manage users with JDBC/Servlets?
Previous Message Mikko Tiihonen 2006-07-26 11:42:43 Query parsing speedup patch v2