ObjectDB ObjectDB

Internal Website Search

11-20 of 168 resultsRefresh
129

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

(and so lazy loading would initially work), they become detached once the EntityManager under control ... are involved) to ensure the desired collections are resolved already before detachment, losing ... bean is released. 3. Use a FETCH JOIN as described here: Detach JPA objects with lazy initialized
127

Merge on detached entities

Hello, it is possible to merge detached entities? There are some attached entities which load from the database. The transaction is finished and the entities become detached. In a new transaction the fields of the detached entities will be changed and a merge by em.merge(entity) will be saved
35

Working with JPA Entity Objects

: New, Managed, Removed and Detached. When an entity object is initially created its state is New. In ... deletion are provided in the Deleting Entities section. The last state, Detached, represents entity ... of an EntityManager become detached when the EntityManager is closed. Working with detached objects
26

Navigation through lazy loading from Detached Objects

A main limitation of detached objects (as explained on the Detached Entities manual page) is: Retrieval by navigation from detached objects is not supported, so only persistent fields that have been loaded before detachment should be used. As explained on the Object DB vs EclipseLink/TopLink
6

ObjectState.DETACHED_DIRTY

Enum Constant javax.jdo.ObjectState DETACHED_DIRTY Since: JDO 1.0
6

ObjectState.DETACHED_CLEAN

Enum Constant javax.jdo.ObjectState DETACHED_CLEAN Since: JDO 1.0
6

Constants.PROPERTY_DETACH_ALL_ON_COMMIT

Static Field javax.jdo.Constants String PROPERTY_DETACH_ALL_ON_COMMIT "javax.jdo.option.DetachAllOnCommit" Since: JDO 2.1 See Also: PersistenceManagerFactory.getDetachAllOnCommit()
6

InstanceLifecycleEvent.DETACH

Static Field javax.jdo.listener.InstanceLifecycleEvent int DETACH Since: JDO 2.0
3

javax.jdo.JDOEntityManager

the persistence context, causing all managed entities to become detached. Clear the persistence context, causing all managed entities to become detached. Changes made to entities that have not been flushed ... pc) void detach(Object entity) Remove the given entity from the persistence context, causing
2

javax.jdo.PersistenceManager

See Also: deletePersistent(Object pc) T detachCopy(T pc) Detach the specified instance from the PersistenceManager. Detach the specified instance from the PersistenceManager. The flags for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS) and the active fetch groups determine the scope

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