X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 16A7FD1B8E9 for ; Wed, 3 Sep 2003 10:58:10 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 87855-01 for ; Wed, 3 Sep 2003 07:57:41 -0300 (ADT) Received: from smtp2.ex.eclipse.net.uk (ns2.eclipse.net.uk [212.104.129.133]) by svr1.postgresql.org (Postfix) with ESMTP id 72802D1B899 for ; Wed, 3 Sep 2003 07:57:37 -0300 (ADT) Received: from benetton (unknown [212.104.149.30]) by smtp2.ex.eclipse.net.uk (Postfix) with ESMTP id 3607DA7913 for ; Wed, 3 Sep 2003 11:55:36 +0100 (BST) Received: from 10.10.10.12 by benetton ([10.10.10.16] running VPOP3) with ESMTP for ; Wed, 3 Sep 2003 11:51:05 +0100 Message-Id: <5.1.0.14.0.20030903115145.00a88e20@10.10.10.16> X-Sender: brendan@10.10.10.16 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 03 Sep 2003 11:54:35 +0100 To: pgsql-jdbc@postgresql.org From: "Brendan Caylor: Forgecom" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Server: VPOP3 V1.4.0b - Registered to: Forgecom Ltd X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/52 X-Sequence-Number: 8195 To whom ever it may concern, We are having trouble with what we think is the JDBC driver. We can query a PostgreSQL database without problems except for when a query that contains a field with a data type of decimal. When running a script, the following runtime error occurs: Message: General SQL Error Tag Context: CFQUERY: Line=1; Column=1 Detail: Database reported: Bad Integer 1.95 It seems that its trying to interpret the value of the field, which in this case is 1.95, as an integer and of course it isn't so bombs. It would be interesting to know if anyone else has reported a similar problem and if so what was the resulting fix to the bug. What is going wrong here, any help would be much appreciated. With many thanks in advance, Brendan Caylor Forgecom.