Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [CDO][0.8.0] Release StoreReader
[CDO][0.8.0] Release StoreReader [message #612800] Fri, 14 December 2007 14:28
Simon Mc Duff is currently offline Simon Mc DuffFriend
Messages: 596
Registered: July 2009
Senior Member
Why we do not release storeReader in PackageManager ?

In my case .. I always have a session open to the database after the
initialization of my server.
@Override

protected void doActivate() throws Exception

{

super.doActivate();

IStoreReader storeReader = repository.getStore().getReader(null);

Collection<CDOPackageInfo> packageInfos = storeReader.readPackageInfos();

for (CDOPackageInfo info : packageInfos)

{

addPackage(new CDOPackageImpl(this, info.getPackageURI(), info.isDynamic(),
info.getMetaIDRange()));

}

}
Previous Topic:Registration timeout after 5000 milliseconds
Next Topic:[CDO][0.8.0] Changing Model
Goto Forum:
  


Current Time: Mon Sep 21 10:31:35 GMT 2020

Powered by FUDForum. Page generated in 0.05459 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top