下面列出了java.sql.ResultSet#updateRowId ( ) 实例代码,或者点击链接到github查看源代码,也可以在右侧发表评论。
@Test(expected = SQLFeatureNotSupportedException.class)
public void assertUpdateRowIdForColumnIndex() throws SQLException {
for (ResultSet each : resultSets) {
each.updateRowId(1, null);
}
}
@Test(expected = SQLFeatureNotSupportedException.class)
public void assertUpdateRowIdForColumnLabel() throws SQLException {
for (ResultSet each : resultSets) {
each.updateRowId("label", null);
}
}
@Test(expected = SQLFeatureNotSupportedException.class)
public void assertUpdateRowIdForColumnIndex() throws SQLException {
for (ResultSet each : resultSets) {
each.updateRowId(1, null);
}
}
@Test(expected = SQLFeatureNotSupportedException.class)
public void assertUpdateRowIdForColumnLabel() throws SQLException {
for (ResultSet each : resultSets) {
each.updateRowId("label", null);
}
}