use of org.ff4j.audit.repository.JdbcEventRepository in project ff4j by ff4j.
the class JdbcEventRepositorySchemaTest method initStore.
/**
* {@inheritDoc}
*/
public void initStore() {
builder = new EmbeddedDatabaseBuilder();
db = builder.setType(EmbeddedDatabaseType.HSQL).build();
testedStore = new JdbcEventRepository(db);
}
use of org.ff4j.audit.repository.JdbcEventRepository in project ff4j by ff4j.
the class JdbcEventRepositoryTest method initRepository.
/**
* {@inheritDoc}
*/
@Override
protected EventRepository initRepository() {
builder = new EmbeddedDatabaseBuilder();
db = //
builder.setType(EmbeddedDatabaseType.HSQL).addScript(//
"classpath:schema-ddl.sql").addScript(//
"classpath:ff-store.sql").build();
return new JdbcEventRepository(db);
}
Aggregations