@Inherited @Documented @Target(value=TYPE) @Retention(value=RUNTIME) @Import(value=org.springframework.data.jdbc.repository.config.JdbcAuditingRegistrar.class) public @interface EnableJdbcAuditing
EnableJdbcRepositories
Modifier and Type | Optional Element and Description |
---|---|
String |
auditorAwareRef
Configures the
AuditorAware bean to be used to lookup the current principal. |
String |
dateTimeProviderRef
Configures a
DateTimeProvider bean name that allows customizing the LocalDateTime to be
used for setting creation and modification dates. |
boolean |
modifyOnCreate
Configures whether the entity shall be marked as modified on creation.
|
boolean |
setDates
Configures whether the creation and modification dates are set.
|
public abstract String auditorAwareRef
AuditorAware
bean to be used to lookup the current principal.AuditorAware
public abstract boolean setDates
public abstract boolean modifyOnCreate
public abstract String dateTimeProviderRef
DateTimeProvider
bean name that allows customizing the LocalDateTime
to be
used for setting creation and modification dates.DateTimeProvider
Copyright © 2017–2020 Pivotal Software, Inc.. All rights reserved.