Class PanacheEntityBase

  • Direct Known Subclasses:
    PanacheEntity

    public abstract class PanacheEntityBase
    extends Object

    Represents an entity. If your Hibernate entities extend this class they gain auto-generated accessors to all their public fields (unless annotated with Transient), as well as a lot of useful methods. Unless you have a custom ID strategy, you should not extend this class directly but extend PanacheEntity instead.

    Author:
    Stéphane Épardaud
    See Also:
    PanacheEntity