assertEquals(new BigDecimal("1.4"), decarr[1]);
arr = rs.getArray(3);
assertEquals(Types.VARCHAR, arr.getBaseType());
String[] strarr = (String[]) arr.getArray();
assertEquals("abc", strarr[0]);
<BUG>assertEquals("def", strarr[1]);
}</BUG>
@Test
public void testRetrieveArrays() throws SQLException {
Statement stmt = conn.createStatement();

assertEquals(new BigDecimal("1.4"), decarr[1]);
arr = rs.getArray(3);
assertEquals(Types.VARCHAR, arr.getBaseType());
String[] strarr = (String[]) arr.getArray();
assertEquals("abc", strarr[0]);
assertEquals("def", strarr[1]);
rs.close();
ps.close();
}
@Test
public void testRetrieveArrays() throws SQLException {
Statement stmt = conn.createStatement();
