public class MigrationUtilities
extends java.lang.Object
| Constructor and Description |
|---|
MigrationUtilities() |
| Modifier and Type | Method and Description |
|---|---|
static PK |
convertOldPK(java.lang.String oldPKString)
This methods converts the old PK format (Platform <=22) to the new format.
|
static boolean |
isOldPK(java.lang.String oldPKString) |
static void |
registerPKMapper(PKMapper mapper) |
static void |
registerTypecodeMapper(TypecodeMapper mapper) |
static boolean |
unregisterPKMapper(PKMapper mapper) |
static boolean |
unregisterTypecodeMapper(TypecodeMapper mapper) |
public static void registerTypecodeMapper(TypecodeMapper mapper)
public static boolean unregisterTypecodeMapper(TypecodeMapper mapper)
public static boolean unregisterPKMapper(PKMapper mapper)
public static void registerPKMapper(PKMapper mapper)
public static PK convertOldPK(java.lang.String oldPKString)
old timestamp -> new timestamp 1:1 (can only work if TS was not before 1995) old typecode -> new typecode 1:1 (note that some typecode can be too big (new format allows only 32768, they have to be converted manually= old randomvalue -> last digits of randomvalue used for new millicnt (4bit) and clusterid (4bit) old IP -> not usedsample for old PK: P0buIyC2LQkpATPjDHiNia-1, typecode: 1, creationtime: 09.07.2007, 13:58:49
oldPKString - the old stringpublic static boolean isOldPK(java.lang.String oldPKString)
Copyright © 2018 SAP SE. All Rights Reserved.