I'm currently working on a rest api for a old java application using springboot.
When I scan my entities, I have :
org.hibernate.tool.schema.spi.SchemaManagementException: Schema-validation: missing column [rev] in table [schema.object_aud].
Indeed, my rev column is named "revision_id".
I don't want to change this name because it's used in many applications and I don't want side effects...
How can I configure bootstrap to check that name instead of "rev".
Thank you for your help !
I found a solution if someone read this post : In application.yml/application.properties, I add these lines
spring.jpa.properties:
org.hibernate.envers.revision_field_name: revision_id
org.hibernate.envers.revision_type_field_name: revision_type
And it's working fine.