pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brendan Caylor: Forgecom <Brendan@forgecom.co.uk>
To: pgsql-jdbc@postgresql.org
Date: Wed, 03 Sep 2003 11:54:35 +0100
Message-ID: <5.1.0.14.0.20030903115145.00a88e20@10.10.10.16> (raw)

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. 




view thread (2+ messages)  latest in thread

Message-ID: <5.1.0.14.0.20030903115145.00a88e20@10.10.10.16>
Permalink:  ../5.1.0.14.0.20030903115145.00a88e20@10.10.10.16/
Also on:    postgresql.org/message-id/5.1.0.14.0.20030903115145.00a88e20@10.10.10.16

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: Brendan@forgecom.co.uk
  Subject: Re: 
  In-Reply-To: <5.1.0.14.0.20030903115145.00a88e20@10.10.10.16>
  References: <5.1.0.14.0.20030903115145.00a88e20@10.10.10.16>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox