ObjectDB ObjectDB

Internal Website Search

51-60 of 81 resultsRefresh

Setting temp directory location in ObjectDB

.ConnectionURL", fileName.odb); pmf = JDOHelper.getPersistenceManagerFactory(properties), JDOHelper ... "); properties.setProperty("javax.jdo.option.ConnectionURL", fileName.odb); pmf = JDOHelper.getPersistenceManagerFactory(properties), JDOHelper.class.getClassLoader()); pmf.setMultithreaded(true); pmf

Connection performace after upgrade to objectdb 2

and PersistenceManager : In objectdb 1 : PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory( getProperties(physicalPath, objectName), JDOHelper.class.getClassLoader ... = System.currentTimeMillis();             PersistenceManagerFactory pmf =                     JDOHelper

evictAll() behavior

) { System.out.println("Cache size before flush = " + pm.getManagedObjects().size()); System.out.println(JDOHelper.getObjectState(picture)); pm.currentTransaction().commit(); System.out.println(JDOHelper.getObjectState ... .getManagedObjects().size()); System.out.println(JDOHelper.getObjectState(picture)); pm.evictAll

Unable to delete the .odb file programatically

= JDOHelper.getPersistenceManagerFactory(getProperties(physicalPath,objectName), JDOHelper.class ... (); }     PersistenceManagerFactory pmfactory = JDOHelper.getPersistenceManagerFactory(getProperties(fromPath,objectName), JDOHelper.class.getClassLoader()); if (pmfactory != null && !pmfactory.isClosed

Source not found error after downloading ObjectDB 2.3.7_04

.odb"); PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory(prop ... debugged following code import java.util.Properties; import javax.jdo.JDOHelper; import javax ... = JDOHelper.getPersistenceManagerFactory(prop);         PersistenceManager pm = pmf

Problem with byte arrays in JDO - ClassCastException

.util.List; import javax.jdo.JDOHelper; import javax.jdo.PersistenceManager; import javax.jdo ... = JDOHelper.getPersistenceManagerFactory("test.odb");         PersistenceManager pm = pmf

Problem with byte arrays in JDO - internal exception

This code generates an internal exception: package spiffy.test; import java.util.List; import javax.jdo.JDOHelper; import javax.jdo.PersistenceManager; import javax.jdo ... */ public static void main(String[] args) { PersistenceManagerFactory pmf = JDOHelper


Method javax.jdo.spi.PersistenceCapable boolean jdoIsDetached() Tests whether this object has been detached. Instances that have been detached return true. Transient instances return false. Returns: true if this instance is detached. Since: JDO 2.0 See Also: javax.jdo.JDOHelper.isDetached(Object pc)


See Also: javax.jdo.JDOHelper.isDeleted(Object pc) PersistenceManager.deletePersistent(Object pc)


Static Field javax.jdo.Constants String PROPERTY_PERSISTENCE_MANAGER_FACTORY_CLASS "javax.jdo.PersistenceManagerFactoryClass" Since: JDO 2.1 See Also: JDOHelper.getPersistenceManagerFactory(java.util.Map)

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