Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: fcb28c7c87a18ba6673b7fd3a48f3421410eb942
https://github.com/pgjdbc/pgjdbc/commit/fcb28c7c87a18ba6673b7fd3a48f3421410eb942 Author: Philippe Marschall
<philippe.marschall@gmail.com>Date: 2017-09-26 (Tue, 26 Sep 2017)
Changed paths: M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java M
pgjdbc/src/test/java/org/postgresql/test/jdbc4/jdbc41/GetObjectTest.java
Log Message: ----------- feat: improve ResultSet#getObject(int, Class) (#932)
In the review of #813 various issues with the initial implementation of
CallableStatement#getObject(int, Class) showed up that
ResultSet#getObject(int, Class) also has. This commit gives both
methods the same behavior.
This commit contains the following changes
- make errors localizable
- add support for SMALLINT <-> Short
- add support for BIGINT <-> BigInteger
- add support for TIMESTAMP <-> java.util.Date
- swap INTEGER and SMALLINT position
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc