use of org.ff4j.springjdbc.store.FeatureStoreSpringJdbc in project ff4j by ff4j.
the class SpringJdbcFeatureStoreTest method initStore.
/**
* {@inheritDoc}
*/
@Override
protected FeatureStore initStore() {
builder = new EmbeddedDatabaseBuilder();
db = //
builder.setType(EmbeddedDatabaseType.HSQL).addScript(//
"classpath:schema-ddl.sql").addScript(//
"classpath:ff-store.sql").build();
FeatureStoreSpringJdbc jdbcStore = new FeatureStoreSpringJdbc();
jdbcStore.setDataSource(db);
jdbcStore.getJdbcTemplate();
return jdbcStore;
}
Aggregations