ObjectDB ObjectDB

Internal Website Search

41-50 of 169 resultsRefresh
8

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
8

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
8

detachCopy(pc)

Method javax.jdo.PersistenceManager T detachCopy( T pc ) Detach the specified instance from the PersistenceManager. The flags for detachment (DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS ... : pc - the instance to detach Returns: the detached instance Since: JDO 2.0 See Also: detachCopyAll(Object[])
8

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
7

javax.jdo.listener.DetachCallback

javax.jdo.listener Interface DetachCallback This interface is used to notify instances of detach events. Since: JDO 2.0 void jdoPostDetach(Object detached) This method is called during the execution of javax.jdo.PersistenceManager.detachCopy on the detached instance after the copy
7

javax.jdo.spi.PersistenceCapable

is persistent, transactional, dirty, new, deleted, or detached; and to get its associated ... .deletePersistent(Object pc) boolean jdoIsDetached() Tests whether this object has been detached. Tests whether this object has been detached. Instances that have been detached return true. Transient
7

replacingDetachedState(pc, state)

Method javax.jdo.spi.StateManager Object[] replacingDetachedState( Detachable pc, Object[] state ) The replacement value of the detached state in the calling instance. Parameters: pc - the calling Detachable instance state - the current value of the detached state Returns: the replacement value for the detached state Since: JDO 2.0
7

javax.jdo.JDOHelper

whether the instance is persistent, transactional, dirty, new, deleted, or detached ... whether the parameter instance has been detached. Tests whether the parameter instance has been detached. Instances that have been detached return true. Transient instances return false. Parameters: pc - the instance
6

javax.jdo.Constants

2.1 String PMF_ATTRIBUTE_DETACH_ALL_ON_COMMIT The name of the persistence manager factory element's "detach-all-on-commit" attribute. The name of the persistence manager factory element's "detach ... See Also: PersistenceManagerFactory.getCopyOnAttach() String PROPERTY_DETACH_ALL_ON_COMMIT "javax.jdo
6

setCopyOnAttach(flag)

setting. CopyOnAttach set to true specifies that during makePersistent, copies are made of detached parameter instances. With this flag set to false, detached parameter instances are attached directly and change their state from detached-clean to persistent-clean or from detached-dirty to persistent

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