Hi Team i am using the camunda in my project. Planning the deploy the code in production. SO i need to prepare the camunda tables scripts.
How to generate the scripts from spring boot project (applicatio.yml)
I tried below way but its not showing create scripts.
spring:
application:
name: application
jpa:
show-sql: true
@aravindhrs Still not generation scripts while running the server.
For postgres db you need to create empty schema :
CREATE SCHEMA [IF NOT EXISTS] schema_name;
and provide to data source like below in application.yml:
spring:
application:
name: camundaworkflow
profiles:
active: local
jpa:
database-platform: org.hibernate.dialect.PostgreSQL9Dialect
datasource:
type: com.zaxxer.hikari.HikariDataSource
url: jdbc:postgresql://localhost:5432/camundaworkflow
username: postgres
password: postgres
hikari:
jdbc-url: jdbc:postgresql://localhost:5432/camundaworkflow
username: postgres
password: p@stgre$8292
driver-class-name: org.postgresql.Driver
pool-name: CAMUNDA-HIKARI-POOL
idle-timeout: 3000
minimum-idle: 30
maximum-pool-size: 10
connection-timeout: 2000
connection-test-query: select 1
transaction-isolation: TRANSACTION_READ_COMMITTED
It doesn’t output the scripts unless if you enabled logging.
Can you share logback xml and application yml files If you have
After few changes in local system showing like …How to get org/camunda/bpm/engine/db/create/activiti.postgres.create.engine.sql files
2021-07-25 09:17:00.465 INFO [cdups-shark-process,] 9000 — [ main] org.camunda.bpm.engine.persistence : ENGINE-03016 Performing database operation ‘create’ on component ‘engine’ with resource ‘org/camunda/bpm/engine/db/create/activiti.postgres.create.engine.sql’
Hi @Madhav_Kesava_Reddy,
you can download them from here as a zip file:
Please check the create
folder in the archive.
Hope this helps, Ingo