Run h2 in daemon mode (#6446)
This commit is contained in:
parent
c99ad738c0
commit
e5cdd8bd27
|
|
@ -110,7 +110,7 @@ public class StandaloneServer {
|
|||
System.setProperty(SPRING_DATASOURCE_USERNAME, "sa");
|
||||
System.setProperty(SPRING_DATASOURCE_PASSWORD, "");
|
||||
|
||||
Server.createTcpServer("-ifNotExists").start();
|
||||
Server.createTcpServer("-ifNotExists", "-tcpDaemon").start();
|
||||
|
||||
final DataSource ds = ConnectionFactory.getInstance().getDataSource();
|
||||
final ScriptRunner runner = new ScriptRunner(ds.getConnection(), true, true);
|
||||
|
|
|
|||
Loading…
Reference in New Issue