ObjectDB ObjectDB

Internal Website Search

161-170 of 193 resultsRefresh
16

Soft Reference Object Cache Recommendation

.deletePersisted(myObject) or PersistenceManagerFactory.close(). I inspect JavaVirtualVm memory ... , and closing PersistenceManagerFactory, there are PAGs remaining with a GC Root of "persistenceManager (java ... is, how can I have a single PersistenceManagerFactory, with a single PersistenceManager, retain
16

ODB-WeakRefPurger threads not closing at all

for the fix ? jakab Gergely Jakab The WeakRefPurger thread is started when a new PersistenceManagerFactory ... that every PersistenceManagerFactory instance that you open is also closed. Currently ObjectDB waits up to 2 ... the PersistenceManagerFactory instances. Should I close both of them at the same time ? I can confirm
14

Unable to delete the .odb file programatically

ObjectDB 2.x you have to close the PersistenceManagerFactory as well to close the database file ... :( Code used for creating PersistanceManager from PersistanceFactory     PersistenceManagerFactory pmf ... (); }     PersistenceManagerFactory pmfactory = JDOHelper.getPersistenceManagerFactory(getProperties(fromPath,objectName
13

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

.PersistenceManager; import javax.jdo.PersistenceManagerFactory; import java.nio.file.Files; import ... .setProperty("javax.jdo.option.ConnectionURL", "$objectdb/local.odb"); PersistenceManagerFactory persistenceManagerFactory = JDOHelper.getPersistenceManagerFactory(properties
13

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
12

Remove not working

javax.jdo.JDOHelper; import javax.jdo.PersistenceManager; import javax.jdo.PersistenceManagerFactory ... ("javax.jdo.option.ConnectionURL", "Test.odb;drop"); PersistenceManagerFactory persistenceManagerFactory = JDOHelper.getPersistenceManagerFactory(properties); persistenceManager
12

Replaying recorded requests...

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

Source not found error after downloading ObjectDB 2.3.7_04

.odb"); PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory(prop ... .jdo.PersistenceManager; import javax.jdo.PersistenceManagerFactory; public class Main ... .setProperty("javax.jdo.option.ConnectionUR","local.odb");         PersistenceManagerFactory pmf
10

How to do an Offline Database Backup?

can do so by trying to call PersistenceManagerFactory.close(), and keep trying, until it no longer throws any ... which guarantees the file will not be corrupted? CBE CBE You should close the PersistenceManagerFactory (not just the PersistenceManager instances) and avoid opening another PersistenceManagerFactory for that database until the backup completes. support Support
0

Constants.PROPERTY_CONNECTION_DRIVER_NAME

Static Field javax.jdo.Constants String PROPERTY_CONNECTION_DRIVER_NAME "javax.jdo.option.ConnectionDriverName" Since: JDO 2.1 See Also: PersistenceManagerFactory.getConnectionDriverName()

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support