Internal Website Search

161-170 of 194 resultsRefresh

Soft Reference Object Cache Recommendation

persistenceManager.deletePersisted(myObject) or PersistenceManagerFactory.close(). I inspect  ... > Even after using "weak" references, and closing PersistenceManagerFactory, there are PAGs ... have a single PersistenceManagerFactory, with a single PersistenceManager, retain objects for caching

ODB-WeakRefPurger threads not closing at all

thread is started when a new PersistenceManagerFactory (or Could you please verify that every PersistenceManagerFactory instance ... ;PersistenceManagerFactory instances. Should I close both of them at the same time ? I can confirm

Unable to delete the .odb file programatically

Binit Bhaskar In ObjectDB 2.x you have to close the PersistenceManagerFactory ... ;PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory(getProperties(physicalPath ... ;   PersistenceManagerFactory pmfactory = JDOHelper.getPersistenceManagerFactory

Can I Disable the Creation of the "log" Directory?

.jdo.PersistenceManagerFactory; import java.nio.file.Files; import java.nio.file.Path; import java ... .ConnectionURL", "$objectdb/local.odb"); PersistenceManagerFactory persistenceManagerFactory ... = persistenceManagerFactory.getPersistenceManager(); persistenceManager.close

ObjectDb.conf Defaults

.PersistenceManagerFactory; import java.nio.file.Files; import java.nio.file.Path; import java.nio ... .odb"); PersistenceManagerFactory persistenceManagerFactory = JDOHelper.getPersistenceManagerFactory(properties); PersistenceManager persistenceManager = persistenceManagerFactory

Remove not working

; import javax.jdo.PersistenceManagerFactory; import java.util.Properties; public class Test ... "); PersistenceManagerFactory persistenceManagerFactory = JDOHelper.getPersistenceManagerFactory(properties); persistenceManager = persistenceManagerFactory.getPersistenceManager

Replaying recorded requests...

a PersistenceManagerFactory? Dave dmoshal David Moshal Couple of additional points: 1 ... that you close the database with PersistenceManagerFactory's close (PersistenceManager's close doesn't close ... with PersistenceManagerFactory's close (PersistenceManager's close doesn't close the database file).

Access to client/server database from multiple applications

="code">PersistenceManagerFactory.getDataStoreCache().evictAll(true,MyClass.class) to ensure ... >Other options that could work are to use a PersistenceManagerFactory with PersistenceManagerFactory/setRetainValues_boolean" target="_blank">retain

javax.jdo.Query

JDO JavaDoc Reference Documentation - The Query interface allows applications to obtain persistent instances, values, and aggregate data from the data store.

close()

for options will be restored to their values as specified in the PersistenceManagerFactory