e = (MetadataException)e.getCause();
assertEquals("err.meta.sql.statementAdapter", e.getErrorCode());
}
adapterStep.setAdapter(ds.getAdapter());
upgrade.validate(null, null); // must pass since adapter validation from "2-step"
buf.getBuffer().setLength(0);
manager.upgrade(schema, null); // must upgrade starting from "2-step"
AssertUtil.assertContained(tableStmtValid.getSQL(), buf.toString());
// setup for third upgrade version