Internal Website Search

41-50 of 200 resultsRefresh

Detached Entity Objects

methods do not accept detached objects (e.g. lock_Object_LockModeType">lock).

javax.persistence.PessimisticLockScope

of the javax.persistence.lock.scope property for pessimistic locking. This property ... that allow lock modes to be specified or used with the locked if the javax.persistence.lock.scope

find(entityClass, primaryKey, lockMode, properties)

;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 lock type. If the entity instance is contained in the persistence

find(entityClass, primaryKey, lockMode)

="description"> 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 ... if the lock method had been called on the entity. If the entity is found

find(entityClass, primaryKey, lockMode, properties)

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 lock type. If the entity instance is contained in ... context and the lock mode type is pessimistic and the entity has a version attribute, the persistence

javax.persistence.Query

"> Get the current lock mode for the query. Get the current lock mode for the query. Returns: lock mode

refresh(entity, lockMode, properties)

changes made to the entity, if any, and lock it with respect to given lock mode type and with specified properties. If the lock mode type is pessimistic and the entity instance is found but cannot be locked: the PessimisticLockException will be thrown

ObjectDB - Object Database for Java (JPA/JDO)

) provides many benefits, including: Avoiding vendor lock in

[ODB1] Chapter 1 - About ObjectDB

simultaneously, because the database server manages an automatic lock mechanism. Embedded ... , the database file is locked for a single process, and multi user support may be achieved only by

find(entityClass, primaryKey, lockMode, properties)

;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 lock type. If the entity instance is contained in the persistence context