Java’s javax.sql.DataSource interface provides a standard method of working with database connections. Traditionally a DataSource uses a URL along with some credentials to establish a database connection. https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-sql.html
A factory for connections to the physical data source that this DataSource object represents. https://docs.oracle.com/javase/7/docs/api/javax/sql/DataSource.html