Skip to content

Commit

Permalink
Do not use spring.datasoruce.driver-class-name in the App REST applic…
Browse files Browse the repository at this point in the history
…ation and rely on the Spring Boot driver auto detection
  • Loading branch information
filiphr committed Jul 16, 2024
1 parent b80d858 commit e495e2e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions modules/flowable-app-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,6 @@
<port>8080</port>
<protocol>org.apache.coyote.http11.Http11NioProtocol</protocol>
<systemProperties>
<spring.datasource.driver-class-name>org.postgresql.Driver</spring.datasource.driver-class-name>
<spring.datasource.url>jdbc:postgresql://localhost:5432/flowable</spring.datasource.url>
<spring.datasource.username>flowable</spring.datasource.username>
<spring.datasource.password>flowable</spring.datasource.password>
Expand All @@ -527,7 +526,6 @@
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<arguments>
<argument>--spring.datasource.driver-class-name=com.mysql.jdbc.Driver</argument>
<argument>--spring.datasource.url=jdbc:mysql://127.0.0.1:3306/flowable?characterEncoding=UTF-8</argument>
<argument>--spring.datasource.username=flowable</argument>
<argument>--spring.datasource.password=flowable</argument>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e495e2e

Please sign in to comment.