In the actual project is generally mybatis combining c3p0 connection pool to use, why use mybatis has its own connection pooling c3p0 connection pool?
Mybatis bring connection pool and c3p0 compared with what are the insufficient place? Hope the experts can solve thank you carefully
CodePudding user response:
Druid HikariCP is better choicehttps://juejin.im/post/6844904055320346637
Especially, the final form
CodePudding user response:
First of all, almost no company will use the default connection pool mybatis, even worst studying project also can match a DBCP,Besides c3p0, it is behind The Times,
Now mainstream is ali from druid it gathered c3p0, DBCP, proxool the advantages of the connection pool, also joined the log monitoring, effective monitoring of the DB connection pool and SQL execution,
Before a test, and c3p0 druid is 10 times more than performance,