Annotation Interface EnableCassandraAuditing


@Inherited @Documented @Target(TYPE) @Retention(RUNTIME) @Import(org.springframework.data.cassandra.config.CassandraAuditingRegistrar.class) public @interface EnableCassandraAuditing
Annotation to enable auditing in Cassandra via annotation configuration.
Since:
2.2
Author:
Mark Paluch
  • Element Details

    • auditorAwareRef

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

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

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

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