ObjectDB ObjectDB

Internal Website Search

31-40 of 168 resultsRefresh
12

JPA Entity Fields

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

Deleting JPA Entity Objects

if the argument is not an instance of an entity class or if it is a detached entity
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

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

javax.jdo.listener.InstanceLifecycleEvent

int CLEAR Since: JDO 2.0 int CREATE Since: JDO 2.0 int DELETE Since: JDO 2.0 int DETACH Since: JDO ... getDetachedInstance() Returns the detached instance involved in the event. Returns the detached instance involved in the event. Returns: The detached instance involved in the event, or null
0

javax.jdo.spi.StateManager

for the field Since: JDO 1.0 Object[] replacingDetachedState( Detachable pc, Object[] state) The replacement value of the detached state in the calling instance. The replacement value of the detached state in the calling instance. Parameters: pc - the calling Detachable instance state - the current value

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