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

AbstractJdbc1DatabaseMetaData.getColumns doesn't set DECIMAL_DIGITS

From: Florian Wunderlich <fwunderlich(at)devbrain(dot)de>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: AbstractJdbc1DatabaseMetaData.getColumns doesn't set DECIMAL_DIGITS
Date: 2002-10-21 17:06:30
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
In the CVS, getColumns in does
not set DECIMAL_DIGITS for types other than "numeric" and "decimal".

A subsequent ResultSet.getInt for this column then fails with a

The JDBC API documentation seems to indicate that this field should
always be an int. In any case, ResultSet.getInt should not fail.


pgsql-jdbc by date

Next:From: David HookerDate: 2002-10-21 19:24:39
Subject: URGENT: Help with exception
Previous:From: Sean LiuDate: 2002-10-21 15:20:33
Subject: Re: null: was is the default returned value?

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