79654865

Date: 2025-06-05 16:33:26
Score: 0.5
Natty:
Report link

Spring Boot uses an opinionated algorithm to scan for and configure a DataSource. This allows you to get a fully-configured DataSource implementation by default easily.

In addition, Spring Boot automatically configures a lightning-fast connection pool, either HikariCP, Apache Tomcat, or Commons DBCP, in that order, depending on which are on the classpath.

While Spring Boot’s automatic DataSource configuration works very well in most cases, sometimes you’ll need a higher level of control, so you’ll have to set up your own DataSource implementation, hence skipping the automatic configuration process.

It is easy process, just takes your time to configure a DataSource once you need it.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30731218