cancel
Showing results for 
Search instead for 
Did you mean: 

Alternate ways to trigger table creation in Spring Boot?

_chrs
Champ in-the-making
Champ in-the-making
I have a Spring Boot application which uses Liquibase to handle schema changes.  In my application.properties I have the the spring.jpa.hibernate.ddl-auto setting set to "validate" (spring.jpa.hibernate.ddl-auto=validate).  I know that in order to automatically build the Activiti tables I need to set spring.jpa.hibernate.ddl-auto to "update".  However I cannot do this without conflicts with Liquibase. 

How can I trigger the building of the Activiti tables and still use Liquibase to handle my schema changes?  Is there a way to achieve this by putting the Activiti tables in a different schema?

Also, when I run my unit tests I use a maven plugin to drop the entire schema and build it from scratch using the Liquibase changelog.  I also need a way to create/update my Activiti tables at the same time.  Any suggestions?
2 REPLIES 2

_chrs
Champ in-the-making
Champ in-the-making
Btw, I am currently using Activiti 5.17.0.

trademak
Star Contributor
Star Contributor
I don't understand the issue. We are using Liquibase as well together with the Activiti database update logic and it doesn't conflict. We are not using Spring Boot though.

Best regards,