use of org.datanucleus.PersistenceNucleusContextImpl in project tests by datanucleus.
the class RDBMSAdapterFactoryTest method setUp.
protected void setUp() throws Exception {
super.setUp();
NucleusContext ctxt = new PersistenceNucleusContextImpl("JDO", null);
pluginMgr = ctxt.getPluginManager();
clr = ctxt.getClassLoaderResolver(null);
// Load RDBMS resources since this is normally done on the init of RDBMSStoreManager and we aren't doing that
Localiser.registerBundle("org.datanucleus.store.rdbms.Localisation", RDBMSStoreManager.class.getClassLoader());
factory = DatastoreAdapterFactory.getInstance();
}
Aggregations