// step through each step, if the AdapterStep enabling the specific adapter is at the
// beginning of the step list or only has other AdapterSteps before it then this version
// is compatible
for (int i = 0, nCount = upgradeVersion.getStepCount(); i < nCount; ++i)
{
RelationalSchemaUpgradeStep step = upgradeVersion.getStep(i);
if (step instanceof SupportAdapterStep)
{
if (((SupportAdapterStep)step).getAdapter() == adapter)
{