// converting to null seems strange...
prep.setObject(17, "2001-01-02", Types.NULL);
prep.setObject(18, "3.725", Types.DOUBLE);
prep.setObject(19, "23:22:21", Types.TIME);
prep.setObject(20, new java.math.BigInteger("12345"), Types.OTHER);
rs = prep.executeQuery();
rs.next();
assertTrue(rs.getObject(1).equals(new Boolean(true)));
assertTrue(rs.getObject(2).equals("Abc"));
assertTrue(rs.getObject(3).equals(new BigDecimal("10.2")));
assertTrue(rs.getObject(4).equals((byte) 0xff));