public final class DeploymentMigrationUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
migrateDeploymentManually(int typecode,
String oldTableName)
Migrates a deployment for types added prior 3.0-u4 by checking if there is no ydeployments entry and altering
table if needed.
|
static void |
migrateDeployments(String migrationExtensionName)
Migrates the deployments of a extension by updating the ydeployments entry and altering table if needed.
|
static void |
migrateGeneralizedDuplicatedDeployments(String migrationExtensionName,
String... deploymentNames)
Method will only migrate a duplicated deployments for given deployment names.
|
static void |
migrateSelectedDeployments(String migrationExtensionName,
String... typeCodes)
Uses an EJB layer to avoid a jalo layer caching
|
public static void migrateDeployments(String migrationExtensionName)
migrateDeploymentManually(int, String) method. ATTENTION: This method may
alter tables!!!!migrationExtensionName - name of the extension the deployments have to be migratedpublic static void migrateGeneralizedDuplicatedDeployments(String migrationExtensionName, String... deploymentNames)
PersistenceManager.getItemDeployment(int) - which means
that there will be picked a deployment for the preceding extension. If the given composed type is to be a
RelationType this type is also recreated upon a new deployment. There is mandatory system update needed after such
adjustment.public static void migrateDeploymentManually(int typecode,
String oldTableName)
typecode - typecode of changed deploymentoldTableName - table name of deployment prior changeCopyright © 2017 SAP SE. All Rights Reserved.