ObjectDB ObjectDB

Internal Website Search

31-40 of 168 resultsRefresh
11

Deleting JPA Entity Objects

if the argument is not an instance of an entity class or if it is a detached entity
11

JPA Entity Fields

for debugging and logging. Version values cannot be preserved for detached entity objects (explained in chapter
11

javax.persistence.EntityManager

, 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 to the database will not ... is found to be invalid Since: JPA 2.0 void detach(Object entity) Remove the given entity from
1

javax.jdo.FetchPlan

, and the various setGroups calls. Value: default. Since: JDO 2.0 int DETACH_LOAD_FIELDS For use ... plan should be loaded prior to detachment. Since: JDO 2.0 int DETACH_UNLOAD_FIELDS For use ... should be unloaded prior to detachment. Since: JDO 2.0 int FETCH_SIZE_GREEDY For use with setFetchSize
1

detachCopyAll(pcs)

Method javax.jdo.PersistenceManager T[] detachCopyAll( T... pcs ) Detach the specified instances from the PersistenceManager. The flags for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS ... []). The detached instances will be unmanaged copies of the specified parameters, and are suitable for serialization
1

javax.jdo.listener.DetachLifecycleListener

This interface is implemented by listeners to be notified of detach events. Since: JDO 2.0 void ... .PersistenceManager.detachCopy after the detached copy is made. This method is called during the execution of javax.jdo.PersistenceManager.detachCopy after the detached copy is made. It is called
0

javax.jdo.spi.StateInterrogation

) Tests whether the parameter instance is detached. Tests whether the parameter instance is detached. Instances that are detached return Boolean.TRUE. Instances known by the implementation to be non-detached return Boolean.FALSE. Instances not recognized by the implementation return null. Parameters: pc
0

javax.jdo.listener.AttachLifecycleListener

postAttach( InstanceLifecycleEvent event) This method is called after a detached instance is attached, via the javax.jdo.PersistenceManager.makePersistent method. This method is called after a detached ... is the corresponding persistent instance in the cache; the target instance is the detached instance
0

detachCopyAll(pcs)

Method javax.jdo.PersistenceManager Collection<T> detachCopyAll( Collection<T> pcs ) Detach the specified instances from the PersistenceManager. The flags for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS) and the active fetch groups determine the scope of fetching for the graph
0

setDetachAllOnCommit(flag)

, during beforeCompletion all cached instances are prepared for detachment according to the fetch plan in effect ... callback, all detachable persistent instances in the cache transition to detached; non-detachable persistent instances transition to transient; and detachable instances can be serialized as detached

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