Fast Object Database for Java - with JPA/JDO support

Internal Website Search

81-90 of 169 resultsRefresh
3

clear()

Method javax.persistence.EntityManager void clear() Clear the persistence context, causing all managed entities to become detached. Changes made to entities that have not been flushed to the database will not be persisted. Since: JPA 1.0
3

lock(entity, lockMode)

is a detached entity TransactionRequiredException - if there is no transaction EntityNotFoundException
3

TYE NullPointerException

is thrown on an attempt to use a lazy collection that has not been loaded in a detached entity object ... and the collection would look empty - if it has not been loaded before detachment). If an unexpected exception (e.g ... . support Support Thanks for that. Its interesting you mention the entity is detached though as that wasnt
3

getDetachmentRoots()

Method javax.jdo.FetchPlan Collection getDetachmentRoots() Get the roots for DetachAllOnCommit. Returns: Collection of detachment roots. Since: JDO 2.0
3

getDetachmentRootClasses()

Method javax.jdo.FetchPlan Class[] getDetachmentRootClasses() Get the root classes for DetachAllOnCommit. Returns: The detachment root classes Since: JDO 2.0
3

getDetachmentOptions()

Method javax.jdo.FetchPlan int getDetachmentOptions() Get options used during detachment. Since: JDO 2.0
3

makePersistentAll(pcs)

instance for detached parameter instances, with an iteration in the same order as in the parameter
3

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
3

getTarget()

Method javax.jdo.listener.InstanceLifecycleEvent Object getTarget() The target object of the Event. Although not deprecated, it is recommended that the the methods getPersistentInstance() and getDetachedInstance() be used instead. Returns: The detached instance for preDetach and postAttach
3

getSource()

except preAttach, or the detached instance for a postDetach or preAttach callback. Since: JDO 2.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