use of ninja.jpa.JpaInitializer in project ninja by ninjaframework.
the class NinjaDaoTestBase method initialize.
@Before
public final void initialize() {
NinjaPropertiesImpl ninjaProperties = new NinjaPropertiesImpl(ninjaMode);
injector = Guice.createInjector(new JpaModule(ninjaProperties));
jpaInitializer = injector.getInstance(JpaInitializer.class);
jpaInitializer.start();
}
Aggregations