Java Code Examples for java.sql.ResultSet#updateArray()

The following examples show how to use java.sql.ResultSet#updateArray() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: UnsupportedUpdateOperationResultSetTest.java    From sharding-jdbc-1.5.1 with Apache License 2.0 4 votes vote down vote up
@Test(expected = SQLFeatureNotSupportedException.class)
public void assertUpdateArrayForColumnIndex() throws SQLException {
    for (ResultSet each : resultSets) {
        each.updateArray(1, null);
    }
}
 
Example 2
Source File: UnsupportedUpdateOperationResultSetTest.java    From sharding-jdbc-1.5.1 with Apache License 2.0 4 votes vote down vote up
@Test(expected = SQLFeatureNotSupportedException.class)
public void assertUpdateArrayForColumnLabel() throws SQLException {
    for (ResultSet each : resultSets) {
        each.updateArray("label", null);
    }
}
 
Example 3
Source File: UnsupportedUpdateOperationResultSetTest.java    From shardingsphere with Apache License 2.0 4 votes vote down vote up
@Test(expected = SQLFeatureNotSupportedException.class)
public void assertUpdateArrayForColumnIndex() throws SQLException {
    for (ResultSet each : resultSets) {
        each.updateArray(1, null);
    }
}
 
Example 4
Source File: UnsupportedUpdateOperationResultSetTest.java    From shardingsphere with Apache License 2.0 4 votes vote down vote up
@Test(expected = SQLFeatureNotSupportedException.class)
public void assertUpdateArrayForColumnLabel() throws SQLException {
    for (ResultSet each : resultSets) {
        each.updateArray("label", null);
    }
}