Java Code Examples for java.sql.ResultSet.getNClob()

The following are Jave code examples for showing how to use getNClob() of the java.sql.ResultSet class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: calcite-avatica   File: AvaticaResultSetConversionsTest.java   Source Code and License Vote up 6 votes
public void testGetNClob(ResultSet resultSet) throws SQLException {
  try {
    resultSet.getNClob(ordinal);
    fail("Was expecting to throw SQLDataException");
  } catch (Exception e) {
    assertThat(e, isA((Class) SQLDataException.class)); // success
  }
}