#862 - ENH: Change ServerConfig such that if H2 is the DataSource/DatabasePlatform then automatically it sets up for testing (ddl generation)

This commit is contained in:
Rob Bygrave
2016-11-07 19:50:05 +13:00
parent b581c893ec
commit d05b593432
11 changed files with 49 additions and 7 deletions
@@ -43,6 +43,7 @@ public class TestAutoCommitDataSource extends BaseTestCase {
ServerConfig config = new ServerConfig();
config.setName("h2autocommit");
config.setH2ProductionMode(true);
config.loadFromProperties();
config.setDataSource(pool);
config.setDefaultServer(false);