Interface PanacheRepositoryBase<Entity,​Id>

  • Type Parameters:
    Entity - The type of entity to operate on
    Id - The ID type of the entity
    All Known Subinterfaces:
    PanacheRepository<Entity>

    public interface PanacheRepositoryBase<Entity,​Id>

    Represents a Repository for a specific type of entity Entity, with an ID type of Id. Implementing this repository will gain you the exact same useful methods that are on PanacheEntityBase. Unless you have a custom ID strategy, you should not implement this interface directly but implement PanacheRepository instead.

    Author:
    Stéphane Épardaud