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

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

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