Index: org/postgresql/jdbc2/AbstractJdbc2Array.java =================================================================== RCS file: /cvsroot/jdbc/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2Array.java,v retrieving revision 1.27 diff -c -r1.27 AbstractJdbc2Array.java *** org/postgresql/jdbc2/AbstractJdbc2Array.java 26 Sep 2011 12:52:30 -0000 1.27 --- org/postgresql/jdbc2/AbstractJdbc2Array.java 27 Sep 2011 10:58:51 -0000 *************** *** 19,25 **** import java.math.BigDecimal; import java.sql.ResultSet; import java.sql.SQLException; - import java.sql.SQLFeatureNotSupportedException; import java.sql.Types; import java.util.ArrayList; import java.util.Map; --- 19,24 ---- *************** *** 213,231 **** } switch (elementOid) { case Oid.INT2: ! arr[i] = ByteConverter.int2(fieldBytes, pos); break; case Oid.INT4: ! arr[i] = ByteConverter.int4(fieldBytes, pos); break; case Oid.INT8: ! arr[i] = ByteConverter.int8(fieldBytes, pos); break; case Oid.FLOAT4: ! arr[i] = ByteConverter.float4(fieldBytes, pos); break; case Oid.FLOAT8: ! arr[i] = ByteConverter.float8(fieldBytes, pos); break; case Oid.TEXT: case Oid.VARCHAR: --- 212,230 ---- } switch (elementOid) { case Oid.INT2: ! arr[i] = new Short(ByteConverter.int2(fieldBytes, pos)); break; case Oid.INT4: ! arr[i] = new Integer(ByteConverter.int4(fieldBytes, pos)); break; case Oid.INT8: ! arr[i] = new Long(ByteConverter.int8(fieldBytes, pos)); break; case Oid.FLOAT4: ! arr[i] = new Float(ByteConverter.float4(fieldBytes, pos)); break; case Oid.FLOAT8: ! arr[i] = new Double(ByteConverter.float8(fieldBytes, pos)); break; case Oid.TEXT: case Oid.VARCHAR: *************** *** 333,339 **** } private Class elementOidToClass(int oid) ! throws SQLFeatureNotSupportedException { switch (oid) { case Oid.INT2: return Short.class; --- 332,338 ---- } private Class elementOidToClass(int oid) ! throws SQLException { switch (oid) { case Oid.INT2: return Short.class;