Class NumberVersionStrategy

    • Constructor Detail

      • NumberVersionStrategy

        public NumberVersionStrategy()
    • Method Detail

      • setInitialValue

        public void setInitialValue​(int initial)
        Set the initial value for version column. Defaults to 1.
      • getInitialValue

        public int getInitialValue()
        Return the initial value for version column. Defaults to 1.
      • getAlias

        public java.lang.String getAlias()
        Description copied from interface: Strategy
        Return the alias of this strategy. For custom strategies, return the full class name.
        Specified by:
        getAlias in interface Strategy
        Overrides:
        getAlias in class AbstractStrategy