注释JaversSpringDataAuditable无法正常工作

时间:2019-07-13 19:37:54

标签: javers

我在我的原始存储库中使用@JaversSpringDataAuditable,但是在运行应用程序时看不到jv_head_idjv_snapshot

我在application.properties中包含了以下代码:

javers:
  mappingStyle: FIELD
  algorithm: SIMPLE
  commitIdGenerator: synchronized_sequence
  prettyPrint: true
  typeSafeValues: false
  newObjectSnapshot: false
  packagesToScan:
  auditableAspectEnabled: true
  springDataAuditableRepositoryAspectEnabled: true
  #documentDbCompatibilityEnabled: false
  sqlSchema:
  sqlSchemaManagementEnabled: true
  prettyPrintDateFormats:
    localDateTime: "dd MMM yyyy, HH:mm:ss"
    zonedDateTime: "dd MMM yyyy, HH:mm:ssZ"
    localDate: "dd MMM yyyy"
    localTime: "HH:mm:ss"  

0 个答案:

没有答案