public final class DeploymentMigrationUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
migrateDeploymentManually(int typecode,
java.lang.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(java.lang.String migrationExtensionName)
Migrates the deployments of a extension by updating the ydeployments entry and altering table if needed.
|
static void |
migrateGeneralizedDuplicatedDeployments(java.lang.String migrationExtensionName,
java.lang.String... deploymentNames)
Method will only migrate a duplicated deployments for given deployment names.
|
static void |
migrateSelectedDeployments(java.lang.String migrationExtensionName,
java.lang.String... typeCodes)
Uses an EJB layer to avoid a jalo layer caching
|
public static void migrateDeployments(java.lang.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(java.lang.String migrationExtensionName,
java.lang.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,
java.lang.String oldTableName)
typecode - typecode of changed deploymentoldTableName - table name of deployment prior changepublic static void migrateSelectedDeployments(java.lang.String migrationExtensionName,
java.lang.String... typeCodes)
Copyright © 2018 SAP SE. All Rights Reserved.