Небольшая модификация для разработчиков:
X++:
boolean dbSynchronize(tableId tableId = 0, // 0 = all tables, non-zero is a valid table handle
boolean syncAsNeeded = true, // true = objects touched in the AOT, false = unconditional synchronize
boolean continueOnError = true,
boolean showProgress = true ) // true = report all problems, but throw only after all tables are synchronized, false = stop synchronize after first error/problem
{
SqlSyncPending sqlSyncPending = new SqlSyncPending();
boolean ok;
;
setPrefix("@SYS22807");
if (!syncAsNeeded && SqlSystem::databaseBackendId() == DataBaseId::Oracle)
{
new Connection().createStatement().executeUpdate("BEGIN DBMS_MVIEW.REFRESH('USER_IND_COLUMNS, USER_INDEXES'); END;");
}
ok = super(tableId, syncAsNeeded, continueOnError, showProgress);
if (ok && this.isRunningMode())
{
SysApplicationSetup::saveApplicationVersion(SysApplicationSetupMode::Synhronize);
}
return ok;
}
иначе тормозит сохранение объектов