Related patch to the getNumbers patch from earlier.

From: Kim Ho <kho(at)redhat(dot)com>
To: Barry Lind <blind(at)xythos(dot)com>
Cc: pgsql-jdbc-list <pgsql-jdbc(at)postgresql(dot)org>
Subject: Related patch to the getNumbers patch from earlier.
Date: 2003-07-24 19:51:30
Message-ID: 1059076290.1289.99.camel@topanga.toronto.redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

This one fixes the problem on the way in.

e.g. If you do a setObject(1,
Float.valueOf(String.valueOf(Integer.MIN_VALUE)),Types.INTEGER)

Before patch, it will insert:
-2147483650

After patch, it will insert:
-2147483648

Cheers,

Kim

Attachment Content-Type Size
setObjectNumbers.diff text/plain 2.5 KB

Browse pgsql-jdbc by date

  From Date Subject
Next Message Paul Thomas 2003-07-25 08:06:58 Re: quick question about PreparedStatements
Previous Message Kim Ho 2003-07-24 19:21:52 Re: Fix for getXXX (numbers)