Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Support for Flowable with GaussDB Integration in Spring Boot #4023

Open
a740659387 opened this issue Feb 10, 2025 · 0 comments

Comments

@a740659387
Copy link

Summary
We are currently integrating Flowable with GaussDB in a Spring Boot application. The specific issue revolves around the compatibility of Flowable with the GaussDB database when using the com.huawei.gaussdb.jdbc.Driver database driver.

Environment
JDK Version: OpenJDK 17
Flowable Version: 7.0.0.M2
Spring Boot Version: 2.7.18
Database: GaussDB
Database Driver: com.huawei.gaussdb.jdbc.Driver
Driver Jar:

<dependency>
<groupId>gaussdbjdbc</groupId>
<artifactId>gaussdbjdbc</artifactId>
<version>1.1</version>
</dependency>


Problem Description
We have been trying to configure Flowable to use GaussDB as the underlying database in a Spring Boot application. However, we are facing issues with the database connection due to the specific GaussDB JDBC driver (com.huawei.gaussdb.jdbc.Driver). The application is unable to properly establish a connection with the database, causing the Flowable engine to fail to initialize or operate.

Expected Behavior
We expect Flowable to support GaussDB and work seamlessly with the com.huawei.gaussdb.jdbc.Driver when integrated into a Spring Boot application. This should allow us to use Flowable's features with GaussDB without encountering connection or compatibility issues.

Steps to Reproduce
Add the GaussDB JDBC driver dependency to the Spring Boot project:

<dependency>
<groupId>gaussdbjdbc</groupId>
<artifactId>gaussdbjdbc</artifactId>
<version>1.1</version>
</dependency>

Configure the com.huawei.gaussdb.jdbc.Driver driver in the application.properties file for Spring Boot.
properties


spring.datasource.url=jdbc:gaussdb://<host>:<port>/<database>
spring.datasource.driver-class-name=com.huawei.gaussdb.jdbc.Driver
spring.datasource.username=<username>
spring.datasource.password=<password>


Run the Spring Boot application with Flowable configured.
Actual Behavior
The application fails to start, with errors related to the database connection or driver class not being compatible with Flowable. Specifically, it may throw exceptions during the database initialization phase, preventing the Flowable engine from starting.

Suggestions
Investigate compatibility between Flowable and GaussDB JDBC driver, and consider adding support for it in a future release.

If possible, add documentation for using Flowable with GaussDB in Spring Boot environments.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant