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