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

    resultSet.getBlob(1);
    resultSet.getBlob("1");

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

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