Annotation Interface EnableJdbcAuditing


@Inherited @Documented @Target(TYPE) @Retention(RUNTIME) @Import(org.springframework.data.jdbc.repository.config.JdbcAuditingRegistrar.class) public @interface EnableJdbcAuditing
Annotation to enable auditing in JDBC via annotation configuration.
Author:
Kazuki Shimizu
See Also:
  • Element Details

    • auditorAwareRef

      String auditorAwareRef
      Configures the AuditorAware bean to be used to lookup the current principal.
      See Also:
      Default:
      ""
    • setDates

      boolean setDates
      Configures whether the creation and modification dates are set.
      Default:
      true
    • modifyOnCreate

      boolean modifyOnCreate
      Configures whether the entity shall be marked as modified on creation.
      Default:
      true
    • dateTimeProviderRef

      String dateTimeProviderRef
      Configures a DateTimeProvider bean name that allows customizing the LocalDateTime to be used for setting creation and modification dates.
      See Also:
      Default:
      ""