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

The following are Jave code examples for showing how to use getNString() 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.
+ Save this method
Example 1
Project: calcite-avatica   File:   View Source Code Vote up 5 votes
public void testGetNString(ResultSet resultSet) throws SQLException {
  try {
    fail("Was expecting to throw SQLDataException");
  } catch (Exception e) {
    assertThat(e, isA((Class) SQLDataException.class)); // success