ObjectDB ObjectDB

Internal Website Search

91-100 of 200 resultsRefresh
4

newObjectIdInstance(pcClass, key)

Method javax.jdo.PersistenceManager Object newObjectIdInstance( Class pcClass, Object key ) This method returns an object id instance corresponding to the pcClass and key arguments. Parameters: pcClass - the Class of the persistence-capable instance key - for single-field identity, the parameter
4

makePersistentAll(pcs)

Method javax.jdo.PersistenceManager T[] makePersistentAll( T... pcs ) Make an array of instances persistent. Parameters: pcs - an array of instances Returns: the parameter instances for parameters in the transient or persistent state, or the corresponding persistent instance for detached parameter
4

getObjectsById(oids, validate)

Method javax.jdo.PersistenceManager Collection getObjectsById( Collection oids, boolean validate ) Return the objects with the given oids. Parameters: oids - the oids of the objects to return validate - if true, the existance of the objects in the datastore will be validated. Returns: the objects
4

newNamedQuery(cls, queryName)

Method javax.jdo.PersistenceManager Query newNamedQuery( Class cls, String queryName ) Create a new Query with the given candidate class from a named query. The query name given must be the name of a query defined in metadata. Parameters: cls - the Class of candidate instances queryName - the name
4

makeNontransactionalAll(pcs)

Method javax.jdo.PersistenceManager void makeNontransactionalAll( Object... pcs ) Make an array of instances non-transactional after commit. Parameters: pcs - the array of instances to make nontransactional. Since: JDO 1.0 See Also: makeNontransactional(Object pc)
4

getObjectIdClass(cls)

Method javax.jdo.PersistenceManager Class getObjectIdClass( Class cls ) Return the Class that implements the JDO Identity for the specified PersistenceCapable class. The application can use the returned Class to construct a JDO Identity instance for application identity PersistenceCapable classes
4

getObjectsById(validate, oids)

Method javax.jdo.PersistenceManager Object[] getObjectsById( boolean validate, Object... oids ) Return the objects with the given oids. Parameters: validate - if true, the existance of the objects in the datastore will be validated. oids - the oids of the objects to return Returns: the objects
4

getObjectsById(oids)

Method javax.jdo.PersistenceManager Object[] getObjectsById( Object... oids ) Return the objects with the given oids. This method is equivalent to calling getObjectsById(boolean,Object...) with the validate flag true. Parameters: oids - the oids of the objects to return Returns: the objects
4

removeUserObject(key)

Method javax.jdo.PersistenceManager Object removeUserObject( Object key ) Remove the specified key and its value from the map of user objects. Parameters: key - the key of the object to be removed Since: JDO 2.0
4

getObjectById(oid)

Method javax.jdo.PersistenceManager Object getObjectById( Object oid ) Looks up the instance corresponding to the specified oid. This is equivalent to getObjectById(oid, true); Parameters: oid - The object id of the object to load Returns: the corresponding persistent instance Since: JDO 1.0

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