Database
CIB seven Modeler persists BPMN and DMN diagrams in a relational database. The database schema is managed by the engine, as an optional part of its own — the webclient only connects to it.
The modeler shares one persistence unit with every other part of the webclient that stores data, so the settings below decide where that data goes as a whole. To put those tables in a database of their own, see Database.
Datasource
Configure the JDBC connection in application.yaml or your override file (e.g. cibseven-webclient.yaml):
spring:
datasource:
url: jdbc:postgresql://localhost:5432/modeler
username: modeler_user
password: modeler_pass
| Property | Description |
|---|---|
spring.datasource.url |
JDBC URL of the target database |
spring.datasource.username |
Database username |
spring.datasource.password |
Database password |
Supported databases include PostgreSQL, MySQL/MariaDB, Oracle, Microsoft SQL Server, IBM DB2, and H2 (for development). From 2.2.2 cibseven-webclient-core bundles only the H2 driver: the CIB seven distributions bring the driver of their database, and a webclient deployed on its own needs the driver of its database on its classpath.
JPA / Hibernate
spring:
jpa:
hibernate:
ddl-auto: none
| Property | Description |
|---|---|
spring.jpa.hibernate.ddl-auto |
Schema management strategy — keep none so Hibernate never modifies the schema |
The engine creates the schema
The webclient sets ddl-auto: none by default. The database schema must exist before the webclient starts. The engine creates it as an optional part of its schema, see Database Schema.