Exemplo n.º 1
0
  public void test_update_blob_1() throws Exception {
    resultSet.next();

    resultSet.updateBlob(1, (InputStream) null, 1);
    resultSet.updateBlob("1", (InputStream) null, 1);

    {
      SQLException error = null;
      try {
        resultSet.updateBlob("0", (InputStream) null, 1);
      } catch (SQLException ex) {
        error = ex;
      }
      Assert.assertNotNull(error);
    }

    {
      SQLException error = null;
      try {
        resultSet.updateBlob(0, (InputStream) null, 1);
      } catch (SQLException ex) {
        error = ex;
      }
      Assert.assertNotNull(error);
    }
  }