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 Details

  • Constructor Details

    • BambooResetableHiLoGeneratorHelper

      public BambooResetableHiLoGeneratorHelper()
  • Method Details

    • setNextHiValue

      public void setNextHiValue(List<String> errors)
    • resetGenerators

      public void resetGenerators()