Skip to content
New issue

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

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

Already on GitHub? # to your account

Add property closeConnOnFatalError to match HikariCP's behavior #6143

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

linghengqian
Copy link

@linghengqian linghengqian commented Sep 25, 2024

dataSources:
  db:
    dataSourceClassName: com.alibaba.druid.pool.DruidDataSource
    driverClassName: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://127.0.0.1:3306/demo_ds?serverTimezone=UTC
    username: root
    password: 
    closeConnOnFatalError: false

The connection pool shouldn't close a connection after an exception. Please file an issue with them.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
1 participant