ObjectDB ObjectDB

Internal Website Search

51-60 of 169 resultsRefresh
6

setCopyOnAttach(flag)

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-dirty. Parameters: flag - Since: JDO 2.1 See Also: getCopyOnAttach()
6

javax.jdo.PersistenceManagerFactory

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-dirty. Parameters: flag - Since: JDO 2.1
6

isDetached(pc)

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 ... is detached. Since: JDO 2.0 See Also: PersistenceManager.detachCopy(Object pc) PersistenceCapable.jdoIsDeleted()
6

javax.persistence.CascadeType

cascade=ALL is equivalent to cascade={PERSIST, MERGE, REMOVE, REFRESH, DETACH}. Since: JPA 1.0 CascadeType ALL Cascade all operations Cascade all operations Since: JPA 1.0 CascadeType DETACH Cascade detach operation Cascade detach operation Since: JPA 2.0 CascadeType MERGE Cascade merge operation
6

makeTransient(pc, useFetchPlan)

is as specified by the FetchPlan. Unlike detachCopy, the instances are not detached; there is no detachment information in the instances. The instances to be made transient do not need to implement the javax.jdo.spi.Detachable interface. Parameters: pc - the root instance to make transient
6

jdoIsDetached()

Method javax.jdo.spi.PersistenceCapable boolean jdoIsDetached() Tests whether this object has been detached. Instances that have been detached return true. Transient instances return false. Returns: true if this instance is detached. Since: JDO 2.0 See Also: javax.jdo.JDOHelper.isDetached(Object pc)
6

preAttach(event)

) This method is called before a detached instance is attached, via the javax.jdo.PersistenceManager.makePersistent method. The source instance is the detached instance. This method is called before the corresponding AttachCallback.jdoPreAttach on the detached instance. Parameters: event - the attach event. Since: JDO 2.0
6

setDetachmentOptions(options)

Method javax.jdo.FetchPlan FetchPlan setDetachmentOptions( int options ) Set options to be used during detachment. Options are DETACH_LOAD_FIELDS and DETACH_UNLOAD_FIELDS. Parameters: options - Since: JDO 2.0
6

isDetached(pc)

Static Method javax.jdo.JDOHelper boolean isDetached( Object pc ) Tests whether the parameter instance has been detached. Instances that have been detached return true. Transient instances return false. Parameters: pc - the instance Returns: true if this instance is detached. Since: JDO 2.0 See Also: PersistenceCapable.jdoIsDetached()
6

makeTransientAll(useFetchPlan, pcs)

detachCopy, the instances are not detached; there is no detachment information in the instances. The instances to be made transient do not need to implement the javax.jdo.spi.Detachable interface. Parameters

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