now multiple client instances are supported

This commit is contained in:
North 2014-05-28 07:46:38 +03:00
parent 944bebbe16
commit b456770e9c
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ public enum CardRepository {
instance; instance;
private static final String JDBC_URL = "jdbc:h2:file:./db/cards.h2"; private static final String JDBC_URL = "jdbc:h2:file:./db/cards.h2;AUTO_SERVER=TRUE";
private static final String VERSION_ENTITY_NAME = "card"; private static final String VERSION_ENTITY_NAME = "card";
private static final long CARD_DB_VERSION = 33; private static final long CARD_DB_VERSION = 33;

View file

@ -21,7 +21,7 @@ public enum ExpansionRepository {
instance; instance;
private static final String JDBC_URL = "jdbc:h2:file:./db/cards.h2"; private static final String JDBC_URL = "jdbc:h2:file:./db/cards.h2;AUTO_SERVER=TRUE";
private static final String VERSION_ENTITY_NAME = "expansion"; private static final String VERSION_ENTITY_NAME = "expansion";
private static final long EXPANSION_DB_VERSION = 3; private static final long EXPANSION_DB_VERSION = 3;