ObjectDB ObjectDB

Internal Website Search

1-10 of 81 resultsRefresh
8

JDOHelper()

Constructor javax.jdo.JDOHelper JDOHelper() Some applications might prefer to use instance methods instead of static methods. Since: JDO 2.1
6

javax.jdo.JDOHelper

javax.jdo Class JDOHelper java.lang.Object javax.jdo.JDOHelper Implemented Interfaces ... ; and to get its associated PersistenceManager if it has one. Since: JDO 1.0 JDOHelper() Some applications ... methods instead of static methods. Since: JDO 2.1 JDOHelper getInstance() Return the singleton
6

[ODB1] Chapter 6 - Persistent Objects

(useful when a PersistenceManager is unavailable): Object oid = JDOHelper.getObjectId(obj); JDO does ... = JDOHelper.getObjectId(obj) + '@' + obj.getClass(); In this case the object can be retrieved later ... The state of an object in a JDO application can be examined using five JDOHelper static methods
6

getInstance()

Static Method javax.jdo.JDOHelper JDOHelper getInstance() Return the singleton instance of JDOHelper. This instance is thread-safe. Returns: the thread-safe singleton JDOHelper Since: JDO 2.1
5

getPersistenceManagerFactory(name, resourceLoader, pmfLoader)

Static Method javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory( String name, ClassLoader resourceLoader, ClassLoader pmfLoader ) Returns a named PersistenceManagerFactory or persistence unit. Parameters: name - resourceLoader - pmfLoader - Since: JDO 2.0 See Also: getPersistenceManagerFactory(Map,String,ClassLoader,ClassLoader)
5

getPersistenceManagerFactory(name, loader)

Static Method javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory( String name, ClassLoader loader ) Returns a named PersistenceManagerFactory or persistence unit. Parameters: name - loader - Since: JDO 1.0 See Also: getPersistenceManagerFactory(Map,String,ClassLoader,ClassLoader)
5

getPersistenceManagerFactory(name)

Static Method javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory( String name ) Returns a named PersistenceManagerFactory or persistence unit. Parameters: name - Since: JDO 2.1 See Also: getPersistenceManagerFactory(Map,String,ClassLoader,ClassLoader)
5

makeDirty(pc, fieldName)

Static Method javax.jdo.JDOHelper void makeDirty( Object pc, String fieldName ) Explicitly mark the parameter instance and field dirty. Normally, PersistenceCapable classes are able to detect changes made to their fields. However, if a reference to an array is given to a method outside the class
5

getPersistenceManagerFactory(props, pmfClassLoader)

Static Method javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory( Map props, ClassLoader pmfClassLoader ) Get a PersistenceManagerFactory based on a Map and a class loader. This method delegates to the getPersistenceManagerFactory method that takes a Map of overrides
5

isTransactional(pc)

Static Method javax.jdo.JDOHelper boolean isTransactional( Object pc ) Tests whether the parameter instance is transactional. Instances whose state is associated with the current transaction return true. Transient instances and instances of classes that do not implement PersistenceCapable return

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