Related patch to the getNumbers patch from earlier. - Mailing list pgsql-jdbc

From Kim Ho
Subject Related patch to the getNumbers patch from earlier.
Date
Msg-id 1059076290.1289.99.camel@topanga.toronto.redhat.com
Whole thread Raw
List 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

pgsql-jdbc by date:

Previous
From: Felipe Schnack
Date:
Subject: quick question about PreparedStatements
Next
From: Kim Ho
Date:
Subject: Re: Fix for getXXX (numbers)