if (candidateCmd.hasVersionStrategy() && options.contains(OPTION_BULK_UPDATE_VERSION))
{
SQLExpression updateSqlExpr = null;
ClassTable table = (ClassTable)stmt.getPrimaryTable().getTable();
JavaTypeMapping verMapping = table.getVersionMapping(true);
ClassTable verTable = table.getTableManagingMapping(verMapping);
VersionMetaData vermd = candidateCmd.getVersionMetaData();
if (vermd.getVersionStrategy() == VersionStrategy.VERSION_NUMBER)
{
// Increment the version
SQLTable verSqlTbl = stmt.getTable(verTable, stmt.getPrimaryTable().getGroupName());