mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Move database files into target directory
This commit is contained in:
parent
b0c6d8060c
commit
a28947f276
@ -157,7 +157,7 @@ public class DataSourceAutoConfigurationTests {
|
||||
public DataSource dataSource() {
|
||||
this.pool = new BasicDataSource();
|
||||
this.pool.setDriverClassName("org.hsqldb.jdbcDriver");
|
||||
this.pool.setUrl("jdbc:hsqldb:overridedb");
|
||||
this.pool.setUrl("jdbc:hsqldb:target/overridedb");
|
||||
this.pool.setUsername("sa");
|
||||
return this.pool;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user