updated EntityManager to use H2

This commit is contained in:
North 2014-05-28 07:57:58 +03:00
parent 809714bc8c
commit 7e7a17e1d7

View file

@ -19,8 +19,8 @@ public enum EntityManager {
instance;
private static final String LOG_JDBC_URL = "jdbc:sqlite:db/mage.db";
private static final String FEEDBACK_JDBC_URL = "jdbc:sqlite:db/feedback.db";
private static final String LOG_JDBC_URL = "jdbc:h2:file:./db/mage.h2;AUTO_SERVER=TRUE";
private static final String FEEDBACK_JDBC_URL = "jdbc:h2:file:./db/feedback.h2;AUTO_SERVER=TRUE";
private Dao<Log, Object> logDao;
private Dao<Feedback, Object> feedbackDao;