All Known Implementing Classes:
AbstractAutoIdFinder, AutoIntegerIdFinder, AutoLongIdFinder, AutoStringIdFinder, AutoUUIDIdFinder

public interface IdFinder<ID>
A IdFinder must be unique in one storage for one entity-class. It creates Ids and therefore must know all existing entities of one class.
  • Method Details

    • createIdFinder

      static <ID> IdFinder<ID> createIdFinder(Field idField, jakarta.persistence.GeneratedValue generatedValueAnnotation, Supplier<Object> lastIdGetter)
    • findId

      ID findId()
    • getDefaultValue

      ID getDefaultValue()