From e495e2ec784919b222bc8e8d815f021fabf5c5c7 Mon Sep 17 00:00:00 2001 From: Filip Hrisafov Date: Tue, 16 Jul 2024 16:32:26 +0200 Subject: [PATCH] Do not use spring.datasoruce.driver-class-name in the App REST application and rely on the Spring Boot driver auto detection --- modules/flowable-app-rest/pom.xml | 2 -- .../src/main/resources/flowable-default.properties | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/flowable-app-rest/pom.xml b/modules/flowable-app-rest/pom.xml index f2c667fab68..43accc4363e 100644 --- a/modules/flowable-app-rest/pom.xml +++ b/modules/flowable-app-rest/pom.xml @@ -500,7 +500,6 @@ 8080 org.apache.coyote.http11.Http11NioProtocol - org.postgresql.Driver jdbc:postgresql://localhost:5432/flowable flowable flowable @@ -527,7 +526,6 @@ spring-boot-maven-plugin - --spring.datasource.driver-class-name=com.mysql.jdbc.Driver --spring.datasource.url=jdbc:mysql://127.0.0.1:3306/flowable?characterEncoding=UTF-8 --spring.datasource.username=flowable --spring.datasource.password=flowable diff --git a/modules/flowable-app-rest/src/main/resources/flowable-default.properties b/modules/flowable-app-rest/src/main/resources/flowable-default.properties index 1cc54aed71f..4b357e0ed2d 100644 --- a/modules/flowable-app-rest/src/main/resources/flowable-default.properties +++ b/modules/flowable-app-rest/src/main/resources/flowable-default.properties @@ -15,7 +15,7 @@ spring.banner.location=classpath:/org/flowable/spring/boot/flowable-banner.txt # all would be created with the same name (com.zaxxer.hikari:name=dataSource,type=HikariDataSource) for example spring.jmx.default-domain=${spring.application.name} # datasource -spring.datasource.driver-class-name=org.h2.Driver +#spring.datasource.driver-class-name=org.h2.Driver spring.datasource.url=jdbc:h2:~/flowable-db/ossdb;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=9091;DB_CLOSE_DELAY=-1 spring.datasource.username=flowable spring.datasource.password=flowable