Comments (3)
When HikariDataSource
is used without HikariConfig
the pool is lazily constructed upon first call to getConnection()
because there is no way to know when configuration of the datasource is complete. So this is a legitimate bug. The shutdown()
method need to include a null
check for pool.
from hikaricp.
The fix is committed to the dev
branch and will appear in the 1.3.4 release later this week.
from hikaricp.
You can build the dev branch to verify the fix if you wish:
git clone https://github.com/brettwooldridge/HikariCP.git
cd HikariCP
git checkout dev
mvn install
Then use version 1.3.4-SNAPSHOT as a maven dependency or use the target/HikariCP-1.3.4-SNAPSHOT.jar directly.
from hikaricp.
Related Issues (20)
- networkTimeoutExecutor maybe shutdown before use it HOT 1
- Changelog for 5.1.0 HOT 1
- MySQL autocommit always is true and I can't use rollback() HOT 3
- v5.1.0 cannot be obtained from the maven repository HOT 1
- How to configure hikari pool for eager initialization? HOT 1
- [Bug] Issue with Springboot and Hibernate. HOT 3
- BoneCP to HikariCP migration slowing down the DB with "Create Sort Index" HOT 1
- Add info about which signing keys will be used for published artifacts.
- `userSetServerless` when using Redshift JDBC driver 2.1.0.22 HOT 1
- Bug: Hikari - Connection pool problems HOT 1
- Connection.rollback() returns dirty connection to the pool. HOT 4
- Getting java.sql.SQLException: HikariDataSource HikariDataSource (hikariConnectionPool) has been closed exceptions. HOT 8
- Connection with active transaction returned to the pool when autoCommit=false, default schema defined and using pgjdbc HOT 1
- Fail to load properties file in configA = new HikariConfig(propertyFileName)
- Connections not going back to pool HOT 14
- Connection failing after about 100 sql queries on the same connection (08S01) - bug HOT 1
- About the performance of Hikari in virtual threads HOT 10
- PoolBase.quietlyCloseConnection() calls close twice HOT 1
- Encryption in DB Pool Configuration
- support to implement the go version Hikari HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hikaricp.