use of org.springframework.boot.jdbc.EmbeddedDatabaseConnection in project spring-boot by spring-projects.
the class DataSourceHealthIndicatorTests method init.
@BeforeEach
void init() {
EmbeddedDatabaseConnection db = EmbeddedDatabaseConnection.HSQLDB;
this.dataSource = new SingleConnectionDataSource(db.getUrl("testdb") + ";shutdown=true", "sa", "", false);
this.dataSource.setDriverClassName(db.getDriverClassName());
}
Aggregations