JDBC driver returning the numeric dataype size as -1 - Mailing list pgsql-jdbc

From Rajat Katyal
Subject JDBC driver returning the numeric dataype size as -1
Date
Msg-id 000801c417ec$0646a3f0$2105a8c0@coffee
Whole thread Raw
List 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.

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: patch: enforce the requirements for scrollable resultsets
Next
From: "Marcus Andree S. Magalhaes"
Date:
Subject: disabling seq scans