Migration per AnsiPadding
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package it.integry.ems.migration.model;
|
||||
|
||||
import it.integry.ems.entity_logger.db_schema_manager.component.SQLServerDBSchemaManager;
|
||||
import it.integry.ems.migration._base.BaseMigration;
|
||||
import it.integry.ems.migration._base.IntegryCustomer;
|
||||
import it.integry.ems.migration._base.MigrationModelInterface;
|
||||
@@ -11,7 +12,8 @@ public class Migration_20240408151802 extends BaseMigration implements Migration
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
|
||||
if (isCustomer(IntegryCustomer.Tosca,
|
||||
if (isCustomer(
|
||||
IntegryCustomer.Tosca,
|
||||
IntegryCustomer.Biolevante,
|
||||
IntegryCustomer.Cosmapack,
|
||||
IntegryCustomer.Dulciar,
|
||||
@@ -23,11 +25,13 @@ public class Migration_20240408151802 extends BaseMigration implements Migration
|
||||
IntegryCustomer.ResinaColor,
|
||||
IntegryCustomer.Ivr,
|
||||
IntegryCustomer.Sardinya,
|
||||
IntegryCustomer.Didonna))
|
||||
{
|
||||
IntegryCustomer.Didonna,
|
||||
IntegryCustomer.Smetar)) {
|
||||
updateSetupValue("DATI_AZIENDA", "SETUP", "DELIMITED_IDENTIFIER", "1");
|
||||
updateSetupValue("DATI_AZIENDA", "SETUP", "FLAG_ANSI_PADDING", "S");
|
||||
updateSetupValue("DATI_AZIENDA", "SETUP", "FLAG_CONCAT_NULL_YIELDS_NULL", "S");
|
||||
|
||||
SQLServerDBSchemaManager schemaManager = new SQLServerDBSchemaManager(this.advancedDataSource.getConnection());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user