ObjectDB ObjectDB

Internal Website Search

51-60 of 80 resultsRefresh

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

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

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

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

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

Remove not working

javax.jdo.JDOHelper; import javax.jdo.PersistenceManager; import javax.jdo.PersistenceManagerFactory ... persistenceManagerFactory = JDOHelper.getPersistenceManagerFactory(properties); persistenceManager

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

name="*" level="info" /> </general> </objectdb> import javax.jdo.JDOHelper; import javax.jdo ... persistenceManagerFactory = JDOHelper.getPersistenceManagerFactory(properties

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


See Also: javax.jdo.JDOHelper.isTransactional(Object pc) PersistenceManager.makeTransactional(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