Class AbstractAuditableEntity

    • Constructor Detail

      • AbstractAuditableEntity

        public AbstractAuditableEntity()
    • Method Detail

      • onCreate

        protected void onCreate()
        Pre persist hook to set the creation date.
      • onUpdate

        protected void onUpdate()
        Pre update hook to set the last modification date.
      • setCreatedAt

        public void setCreatedAt​(Instant createdAt)
      • setUpdatedAt

        public void setUpdatedAt​(Instant updatedAt)