Javer Recreating table in springboot javers-spring-boot-starter-sql

Viewed 14

I have introduced Javer in the spring boot. Database we are using is Posgres. using below in pom.xml:

<dependency>
            <groupId>org.javers</groupId>
            <artifactId>javers-spring-boot-starter-sql</artifactId>
            <version>6.7.0</version>
</dependency>

But whenever application starts, Javer tries creating the database tables again due to which an error is thrown stating table already exists.

Below ddl-auto is being set:

hibernate:
      ddl-auto: validate

Can anyone help me out to restrict Javer to create tables and only validate the tables like we do in the JPA

0 Answers
Related