I think i might have found a bug in the JDBC driver ... It manifests itself
when using the getObject() call on the ResultSet for a column that is the
result of an aggregate function. It causes the application to hang on a call
to getObject().
I'm running:
PostGresSQL 7.1
jdbc7.0-1.2.jar
Sun JDK
Is there a reason that getScale() and getPrecision() both return zero for
NUMERIC fields? It seems like this shouldn't be the case. In the example
fields below (generated by doing a \d on the table), it would seem like the
getScale and Precision methods should return the numbers contained in the
p
C:
< Field f = getField(column);
< if(f != null)
< return (((0x)&f.mod)-4);
< else
< return 0;
[root@TIMDA1 postgresbugfix]#
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf