W
W
Wan-Derer2021-05-31 12:24:17
Java
Wan-Derer, 2021-05-31 12:24:17

Hibernate which connection pool to use?

Hello!
Hibernate writes in the logs:

мая 31, 2021 11:19:44 AM org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionProviderImpl configure
WARN: HHH10001002: Using Hibernate built-in connection pool (not for production use!)

Those. built-in connection pool is not considered reliable? Should I use something else? What are there and which ones are commonly used?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Roo, 2021-05-31
@Wan-Derer

Hikari is commonly used.
"Usually" - because it comes in springboot by default, well, it seems to be the fastest.
HikariCP is the fastest connection pool in java.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question