Index: org/postgresql/ds/common/PGObjectFactory.java =================================================================== RCS file: /cvsroot/jdbc/pgjdbc/org/postgresql/ds/common/PGObjectFactory.java,v retrieving revision 1.8 diff -c -r1.8 PGObjectFactory.java *** org/postgresql/ds/common/PGObjectFactory.java 22 Sep 2011 12:53:24 -0000 1.8 --- org/postgresql/ds/common/PGObjectFactory.java 26 Sep 2011 09:00:19 -0000 *************** *** 116,122 **** String binaryTransfer = getProperty(ref, "binaryTransfer"); if (binaryTransfer != null) ! ds.setBinaryTransfer(Boolean.parseBoolean(binaryTransfer)); return ds; } --- 116,122 ---- String binaryTransfer = getProperty(ref, "binaryTransfer"); if (binaryTransfer != null) ! ds.setBinaryTransfer(Boolean.getBoolean(binaryTransfer)); return ds; } Index: org/postgresql/jdbc2/AbstractJdbc2ResultSet.java =================================================================== RCS file: /cvsroot/jdbc/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java,v retrieving revision 1.113 diff -c -r1.113 AbstractJdbc2ResultSet.java *** org/postgresql/jdbc2/AbstractJdbc2ResultSet.java 22 Sep 2011 12:53:25 -0000 1.113 --- org/postgresql/jdbc2/AbstractJdbc2ResultSet.java 26 Sep 2011 09:00:19 -0000 *************** *** 3126,3132 **** PSQLState.DATA_TYPE_MISMATCH); } if (val < minVal || val > maxVal) { ! throw new PSQLException(GT.tr("Bad value for type {0} : {1}", new Object[]{targetType, Long.valueOf(val)}), PSQLState.NUMERIC_VALUE_OUT_OF_RANGE); } return val; --- 3126,3132 ---- PSQLState.DATA_TYPE_MISMATCH); } if (val < minVal || val > maxVal) { ! throw new PSQLException(GT.tr("Bad value for type {0} : {1}", new Object[]{targetType, new Long(val)}), PSQLState.NUMERIC_VALUE_OUT_OF_RANGE); } return val;