use of jodd.db.querymap.DbPropsQueryMap in project jodd by oblac.
the class DbHsqldbTestCase method setUp.
@Before
public void setUp() throws Exception {
DbManager.getInstance().setQueryMap(new DbPropsQueryMap());
LoggerFactory.setLoggerFactory(new TestLoggerFactory());
cp = new CoreConnectionPool();
cp.setDriver("org.hsqldb.jdbcDriver");
cp.setUrl("jdbc:hsqldb:mem:test");
cp.setUser("sa");
cp.setPassword("");
cp.init();
dbtxm = new DbJtxTransactionManager(cp);
// initial data
DbSession session = new DbSession(cp);
createTables(session);
session.closeSession();
}
Aggregations