ObjectDB ObjectDB

Internal Website Search

71-80 of 200 resultsRefresh
4

getTransactionalObjectId(pc)

Method javax.jdo.PersistenceManager Object getTransactionalObjectId( Object pc ) The ObjectId returned by this method represents the JDO identity of the instance. The ObjectId is a copy (clone) of the internal state of the instance, and changing it does not affect the JDO identity of the instance
4

getServerDate()

Method javax.jdo.PersistenceManager Date getServerDate() Get the Date as seen by the server. Clients using this method can order their operations according to a single time source. Implementations use the setting of the server time zone to prepare a Date instance that represents UTC time
4

getManagedObjects(states)

Method javax.jdo.PersistenceManager Set getManagedObjects( EnumSet<ObjectState> states ) Get the objects managed by this persistence manager having the specified object states. Parameters: states - The states of objects that we are interested in Returns: the objects Since: JDO 2.1
4

getManagedObjects(classes)

Method javax.jdo.PersistenceManager Set getManagedObjects( Class... classes ) Get the objects managed by this persistence manager being instances of the specified classes. Parameters: classes - The classes of objects that we are interested in Returns: the objects Since: JDO 2.1
4

getObjectById(cls, key)

Method javax.jdo.PersistenceManager T getObjectById( Class<T> cls, Object key ) Looks up the instance of the given type with the given key. Parameters: cls - The type of object to load key - either the string representation of the object id, or an object representation of a single field identity
4

getManagedObjects(states, classes)

Method javax.jdo.PersistenceManager Set getManagedObjects( EnumSet<ObjectState> states, Class... classes ) Get the objects managed by this persistence manager having the specified object states and being instances of the specified classes. Parameters: states - The states of objects
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

refreshAll(pcs)

Method javax.jdo.PersistenceManager void refreshAll( Object... pcs ) Refresh the state of an array of instances from the data store. Parameters: pcs - the array of instances to refresh. Since: JDO 1.0 See Also: refresh(Object pc)
4

deletePersistentAll(pcs)

Method javax.jdo.PersistenceManager void deletePersistentAll( Collection pcs ) Delete a Collection of instances from the data store. Parameters: pcs - a Collection of persistent instances Since: JDO 1.0 See Also: deletePersistent(Object pc)

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