Utils/DataSourceFactory
https://gyazo.com/ef3581a9274ef54ee348bedb5afd59d7 #Utilities A DataSource implementation that provides a simple way to create a database connectionusing a JDBC URL, with optional username and password.
This interface offers factory methods to create a DriverManagerDataSource instance.
For example:
code:java
DriverManagerDataSource dataSource = DriverManagerDataSource.create("jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;");