Class BambooResetableHiLoGeneratorHelper
- java.lang.Object
-
- com.atlassian.bamboo.migration.utils.BambooResetableHiLoGeneratorHelper
-
public class BambooResetableHiLoGeneratorHelper extends Object
This class is used to set the hibernate_unique_key.next_hi value to the high bits of the highest id in the DB, +1 after an import (for now) to maintain state in the database.
-
-
Field Summary
Fields Modifier and Type Field Description static String
HIBERNATE_UNIQUE_KEY_COLUMN
static String
HIBERNATE_UNIQUE_KEY_TABLE
-
Constructor Summary
Constructors Constructor Description BambooResetableHiLoGeneratorHelper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
resetGenerators()
void
setNextHiValue(List<String> errors)
-
-
-
Field Detail
-
HIBERNATE_UNIQUE_KEY_COLUMN
public static final String HIBERNATE_UNIQUE_KEY_COLUMN
- See Also:
- Constant Field Values
-
HIBERNATE_UNIQUE_KEY_TABLE
public static final String HIBERNATE_UNIQUE_KEY_TABLE
- See Also:
- Constant Field Values
-
-