Does a spring boot starter based Camunda application need explicit db updates

Hi

I am using the Spring Boot starters for Camunda and I wanted to know if explicit db updates are required when upgrading the starter versions. I checked that in the default Camunda seems to be using Hibernates’s auto ddl feature. The update guide pages note when a db update is required and SQL to run for the same but I would rather let Hibernate handle it in a dev environment if possible.

Thanks

Camunda internally does not use hibernate, they use mybatis for ORM … there is a application property dbSchemaUpdate that controls if the schema should be created on application start.

If you need more control, you should use liquibase or flyway and configure them to execute the sql files provided for your dbms. You can find the create sqls in the engine.jar resources, if you need update scripts, download the full distribution (tomcat for example) and copy them from the sql directory.

2 Likes