ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh


Annotation Element javax.persistence.TableGenerator String table (Optional) Name of table that stores the generated id values. Defaults to a name chosen by persistence provider. Default value: "" Since: JPA 1.0


of the instance in the data store. If they are not the same, then an exception is thrown. Parameters: pc - the instance to make transactional. Since: JDO 1.0

setRange(fromIncl, toExcl)

is done at the data store. Parameters: fromIncl - 0-based inclusive start index toExcl - 0-based


Methodjavax.jdo.PersistenceManager void flush() Flushes all dirty, new, and deleted instances to the data store. It has no effect if a transaction is not active. If a datastore transaction is active, this method synchronizes the cache with the datastore and reports any exceptions. If an optimistic


Static Method javax.jdo.JDOHelper boolean isPersistent( Object pc ) Tests whether the parameter instance is persistent. Instances that represent persistent objects in the data store return true. Transient instances and instances of classes that do not implement PersistenceCapable return false


to use for inheritance. Specifies in which table(s) the members for the class are stored. Returns

retrieveAll(useFetchPlan, pcs)

Method javax.jdo.PersistenceManager void retrieveAll( boolean useFetchPlan, Object... pcs ) Retrieve field values of instances from the store. This tells the PersistenceManager that the application intends to use the instances, and their field values should be retrieved. The fields in the current

copyKeyFieldsFromObjectId(pcClass, fm, oid)

the ObjectIdFieldConsumer to store the values for the key fields. Parameters: pcClass


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


Annotation Element javax.jdo.annotations.Persistent Class[] types Types of the member. Used when the declared member type is a supertype of the actual type that is stored in the member. For example, the declared member type might be an interface type that must contain an object of a concrete type

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