Interface ISequenceValueMassager

All Known Implementing Classes:

public interface ISequenceValueMassager
This is an internal API and may change or disappear without notice Implementations of this interface can modify the automatically generated sequence values created by hibernate seuqnece generator
  • Method Details

    • massage

      Long massage(String theGeneratorName, Long theId)
    • generate

      @Nullable default Long generate(String theGeneratorName)
      If desired, the massager can supply an ID on its own. This method is tried first, and if it returns null, the normal hi-lo generator is called and then massage(String, Long) is called on the output of that.
      Returns an ID or null