I am seeing this warning when running on JBoss EAP: "HHH000402: Using Hibernate built-in connection pool (not for production use!)"
Issue
We are encountering the following warning in a client application:
14/10/17 13:20:24.783 WARN (main) [org.hibernate.service.jdbc.connections.internal.DriverManagerConnectionProviderImpl.configure:98] HHH000402: Using Hibernate built-in connection pool (not for production use!)
This appeared in the logs when we transition from EAP 5 to EAP 6.
I have read the following Hibernate document:
https://docs.jboss.org/hibernate/orm/4.2/devguide/en-US/html_single/#services-ConnectionProvider
What is missing is a description on which ConnectionProvider to use. Can you please help me select a suitable, production-safe ConnectionProvider?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.