我在我的原始存储库中使用@JaversSpringDataAuditable,但是在运行应用程序时看不到jv_head_id
和jv_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"