ObjectDB ObjectDB

Internal Website Search

1-10 of 28 resultsRefresh
77

find(entityClass, primaryKey)

Method javax.persistence.EntityManager T find( Class<T> entityClass, Object primaryKey ) Find by primary key. Search for an entity of the specified class and primary key. If the entity instance ... class primaryKey - primary key Returns: the found entity instance or null if the entity does not exist
77

find(entityClass, primaryKey, lockMode, properties)

Method javax.persistence.EntityManager T find( Class<T> entityClass, Object primaryKey, LockModeType lockMode, Map<K,V> properties ) Find by primary key and lock, using the specified properties ... - entity class primaryKey - primary key lockMode - lock mode properties - standard and vendor
77

getReference(entityClass, primaryKey)

Method javax.persistence.EntityManager T getReference( Class<T> entityClass, Object primaryKey ) Get an instance, whose state may be lazily fetched. If the requested instance does not exist in ... - entity class primaryKey - primary key Returns: the found entity instance Throws
77

find(entityClass, primaryKey, lockMode)

Method javax.persistence.EntityManager T find( Class<T> entityClass, Object primaryKey, LockModeType lockMode ) Find by primary key and lock. Search for an entity of the specified class and primary ... locking failure causes only statement-level rollback Parameters: entityClass - entity class primaryKey
77

evict(cls, primaryKey)

Method javax.persistence.Cache void evict( Class cls, Object primaryKey ) Remove the data for the given entity from the cache. Parameters: cls - entity class primaryKey - primary key Since: JPA 2.0
77

contains(cls, primaryKey)

Method javax.persistence.Cache boolean contains( Class cls, Object primaryKey ) Whether the cache contains data for the given entity. Parameters: cls - entity class primaryKey - primary key Returns: boolean indicating whether the entity is in the cache Since: JPA 2.0
77

find(entityClass, primaryKey, lockMode, properties)

Method javax.persistence.EntityManager T find( Class<T> entityClass, Object primaryKey, LockModeType lockMode, Map<String,Object> properties ) Find by primary key and lock, using the specified ... : entityClass - entity class primaryKey - primary key lockMode - lock mode properties - standard
77

find(entityClass, primaryKey, properties)

Method javax.persistence.EntityManager T find( Class<T> entityClass, Object primaryKey, Map<String,Object> properties ) Find by primary key, using the specified properties. Search for an entity ... ignored. Parameters: entityClass - entity class primaryKey - primary key properties - standard
7

find(entityClass, primaryKey, lockMode, properties)

Method javax.persistence.EntityManager T find( Class<T> entityClass, Object primaryKey, LockModeType lockMode, Map<K,V> properties ) Find by primary key and lock, using the specified properties ... - entity class primaryKey - primary key lockMode - lock mode properties - standard and vendor
7

Persistent.primaryKey

Annotation Element javax.jdo.annotations.Persistent String primaryKey Whether this member is part of the primary key for application identity. This is equivalent to specifying @PrimaryKey as a separate annotation on the member. Returns: whether this member is part of the primary key Default value: "" Since: JDO 2.1

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