ObjectDB ObjectDB

Internal Website Search

171-180 of 200 resultsRefresh

when(condition, result)

Method javax.persistence.criteria.CriteriaBuilder.Case Case<R> when( Expression<Boolean> condition, R result ) Add a when/then clause to the case expression. Parameters: condition - "when" condition result - "then" result value Returns: general case expression Since: JPA 2.0


Annotation Element javax.persistence.MapKeyJoinColumn boolean nullable (Optional) Whether the foreign key column is nullable. Default value: false Since: JPA 2.0


Annotation Element javax.persistence.MapKeyJoinColumn boolean insertable (Optional) Whether the column is included in SQL INSERT statements generated by the persistence provider. Default value: true Since: JPA 2.0


Method javax.persistence.PersistenceUnitUtil boolean isLoaded( Object entity ) Determine the load state of an entity belonging to the persistence unit. This method can be used to determine the load state of an entity passed as a reference. An entity is considered loaded if all attributes

isLoaded(entity, attributeName)

Method javax.persistence.PersistenceUnitUtil boolean isLoaded( Object entity, String attributeName ) Determine the load state of a given persistent attribute of an entity belonging to the persistence unit. Parameters: entity - entity instance containing the attribute attributeName - name


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()


Static Method javax.jdo.JDOHelper boolean isDeleted( Object pc ) Tests whether the parameter instance has been deleted. Instances that have been deleted in the current transaction return true. Transient instances and instances of classes that do not implement PersistenceCapable return false

getObjectById(oid, validate)

Method javax.jdo.PersistenceManager Object getObjectById( Object oid, boolean validate ) This method locates a persistent instance in the cache of instances managed by this PersistenceManager. The getObjectById method attempts to find an instance in the cache with the specified JDO identity


Method javax.jdo.PersistenceManager boolean getMultithreaded() Get the current Multithreaded flag for this PersistenceManager. Returns: the Multithreaded setting. Since: JDO 1.0 See Also: setMultithreaded


See Also: getTransactionalObjectId(Object pc) getObjectById(Object oid, boolean validate)

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