AnsweredAssumed Answered

Alternate ways to trigger table creation in Spring Boot?

Question asked by _chrs on Aug 18, 2015
Latest reply on Aug 19, 2015 by trademak
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?

Outcomes