java.sql.ResultSet#updateArray ( )源码实例Demo

下面列出了java.sql.ResultSet#updateArray ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。

@Test(expected = SQLFeatureNotSupportedException.class)
public void assertUpdateArrayForColumnIndex() throws SQLException {
    for (ResultSet each : resultSets) {
        each.updateArray(1, null);
    }
}
 
@Test(expected = SQLFeatureNotSupportedException.class)
public void assertUpdateArrayForColumnLabel() throws SQLException {
    for (ResultSet each : resultSets) {
        each.updateArray("label", null);
    }
}
 
@Test(expected = SQLFeatureNotSupportedException.class)
public void assertUpdateArrayForColumnIndex() throws SQLException {
    for (ResultSet each : resultSets) {
        each.updateArray(1, null);
    }
}
 
@Test(expected = SQLFeatureNotSupportedException.class)
public void assertUpdateArrayForColumnLabel() throws SQLException {
    for (ResultSet each : resultSets) {
        each.updateArray("label", null);
    }
}