Search code examples
javaspring-bootspring-data-jpajavers

Javers - How to use custom tables


According to the Javers's document: (ref: https://javers.org/documentation/repository-configuration/)

JaVers creates four tables in SQL database:

jv_global_id - domain object identifiers,
jv_commit - JaVers commits metadata,
jv_commit_property - commit properties,
jv_snapshot - domain object snapshots.

My currently using Spring Boot + Javers
My question: Do we have any way to config/custom the tables's name or the column's name ?


Solution

  • No, you can't change table names nor col names, but you can specify a schema name.