Added db creation message.
This commit is contained in:
parent
28153f2c7f
commit
6e93ec92eb
|
@ -16,6 +16,7 @@ public class TestDataSource extends DriverManagerDataSource implements Disposabl
|
||||||
|
|
||||||
public TestDataSource(String databaseName) {
|
public TestDataSource(String databaseName) {
|
||||||
name = databaseName;
|
name = databaseName;
|
||||||
|
System.out.println("Creating database: " + name);
|
||||||
setDriverClassName("org.hsqldb.jdbcDriver");
|
setDriverClassName("org.hsqldb.jdbcDriver");
|
||||||
setUrl("jdbc:hsqldb:mem:" + databaseName);
|
setUrl("jdbc:hsqldb:mem:" + databaseName);
|
||||||
setUsername("sa");
|
setUsername("sa");
|
||||||
|
|
Loading…
Reference in New Issue