Class AbstractAuditable<U,PK extends Serializable>

java.lang.Object
org.springframework.data.jpa.domain.AbstractPersistable<PK>
org.springframework.data.jpa.domain.AbstractAuditable<U,PK>
Type Parameters:
U - the auditing type. Typically some kind of user.
PK - the type of the auditing type's identifier.
All Implemented Interfaces:
org.springframework.data.domain.Auditable<U,PK,LocalDateTime>, org.springframework.data.domain.Persistable<PK>

@MappedSuperclass public abstract class AbstractAuditable<U,PK extends Serializable> extends AbstractPersistable<PK> implements org.springframework.data.domain.Auditable<U,PK,LocalDateTime>
Abstract base class for auditable entities. Stores the audition values in persistent fields.
Author:
Oliver Gierke, Christoph Strobl, Mark Paluch
  • Constructor Details

    • AbstractAuditable

      public AbstractAuditable()
  • Method Details