JDBC driver returning the numeric dataype size as -1

From: "Rajat Katyal" <rajatk(at)intelesoftech(dot)com>
To: <pgsql-jdbc(at)postgresql(dot)org>
Subject: JDBC driver returning the numeric dataype size as -1
Date: 2004-04-01 13:19:55
Message-ID: 000801c417ec$0646a3f0$2105a8c0@coffee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi:

We are using postgres 7.3 as database and pg73jdbc3 as a jdbc driver.

After extraction of metadata of the database tables and fields, the size of the numeric data types we are getting as -1. However we have defined the size as numeric(8, 0). For all other datatypes it is retrieving the exact size as specified in the database.

Can any body know why this behavior with jdbc driver?

Please suggest the solution as soon as possible.

Thanks and Regards,
Rajat.

Browse pgsql-jdbc by date

  From Date Subject
Next Message Marcus Andree S. Magalhaes 2004-04-01 20:27:22 disabling seq scans
Previous Message Hans-Jürgen Schönig 2004-04-01 09:52:53 Re: very interesting JDBC problem ...