ObjectDB ObjectDB

Internal Website Search

21-30 of 46 resultsRefresh
10

javax.persistence.TypedQuery

for the query instance. Returns: query properties and hints Since: JPA 2.0 LockModeType getLockMode ... argument is not valid for the implementation Since: JPA 2.0 Query setLockMode( LockModeType lockMode ... a Criteria API query Since: JPA 2.0 TypedQuery<X> setLockMode( LockModeType lockMode) Set the lock mode
8

javax.persistence.Query

instance. Returns: query properties and hints Since: JPA 2.0 LockModeType getLockMode() Get the current ... Query setLockMode( LockModeType lockMode) Set the lock mode type to be used for the query execution
5

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 properties. Search for an entity of the specified class and primary key and lock it with respect
5

refresh(entity, lockMode, properties)

Method javax.persistence.EntityManager void refresh( Object entity, LockModeType lockMode, Map<String,Object> properties ) Refresh the state of the instance from the database, overwriting changes made to the entity, if any, and lock it with respect to given lock mode type and with specified
5

lock(entity, lockMode, properties)

Method javax.persistence.EntityManager void lock( Object entity, LockModeType lockMode, Map<String,Object> properties ) Lock an entity instance that is contained in the persistence context with the specified lock mode type and with specified properties. If a pessimistic lock mode type is specified
5

refresh(entity, lockMode)

Method javax.persistence.EntityManager void refresh( Object entity, LockModeType lockMode ) Refresh the state of the instance from the database, overwriting changes made to the entity, if any, and lock it with respect to given lock mode type. If the lock mode type is pessimistic and the entity
5

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 key and lock it with respect to the specified lock type. If the entity instance is contained in
5

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. Search for an entity of the specified class and primary key and lock it with respect to the specified
5

setLockMode(lockMode)

Method javax.persistence.Query Query setLockMode( LockModeType lockMode ) Set the lock mode type to be used for the query execution. Parameters: lockMode - lock mode Returns: the same query instance Throws: IllegalStateException - if the query is found not to be a Java Persistence query language SELECT query or a Criteria API query Since: JPA 2.0
0

find(entityClass, primaryKey, lockMode, properties)

Methodjavax.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. Search for an entity of the specified class and primary key and lock it with respect to the specified

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