コード例 #1
0
  public void test_getNCharacterStream() throws Exception {
    resultSet.next();

    resultSet.getNCharacterStream(1);
    resultSet.getNCharacterStream("1");

    {
      SQLException error = null;
      try {
        resultSet.getNCharacterStream(0);
      } catch (SQLException ex) {
        error = ex;
      }
      Assert.assertNotNull(error);
    }

    {
      SQLException error = null;
      try {
        resultSet.getNCharacterStream("0");
      } catch (SQLException ex) {
        error = ex;
      }
      Assert.assertNotNull(error);
    }
  }