Home » Search

About lock

41-50 of 161Refresh
Manual
13

Database Doctor

engine (not using one server process), thus bypassing ObjectDB internal file lock protection. Modifying
Manual
13

Detached Entity Objects

Detached entity objects are objects in a special state in which they are not managed by any EntityManager but still represent objects in the database. Compared to managed entity objects, detached objects are limited in functionality: Many JPA methods do not accept detached objects (e.g. lock
Result
13

ObjectDB - Object Database for Java (JPA/JDO)

lock in - switching between implementations is easy. Technology flexibility - same API
Result
13

What is new in ObjectDB 2.0?

optimistic locking support. Performance improvement in writing and reading of objects. Level 2
FAQ
13

What is ObjectDB?

ObjectDB is an Object Oriented Database Management System (ODBMS). It provides all the standard database management services (storage and retrieval, transactions, lock management, query processing, etc.), but it uses an object oriented model to store and manage data. You can easily store ordinary
JPA Doc
13

refresh(entity, lockMode)

, and lock it with respect to given lock mode type. If the lock mode type is pessimistic and the entity instance is found but cannot be locked: the PessimisticLockException will be thrown if the database locking failure causes transaction-level rollback the LockTimeoutException will be thrown
JPA Doc
10

PessimisticLockScope.NORMAL

for pessimistic locking. The persistence provider must lock the database row(s) that correspond ... is used, or if the entity is otherwise mapped to a secondary table, this entails locking the row(s) for the entity instance in the additional table(s). Entity relationships for which the locked entity
JPA Doc
9

PessimisticLockScope.EXTENDED

in join tables will be locked if the javax.persistence.lock.scope property is specified ... be locked (unless those entities are explicitly locked). Locking such a relationship or element collection generally locks only the rows in the join table or collection table for that relationship or
JDO Doc
7

javax.jdo.Transaction

Since: JDO 1.0 boolean getOptimistic() Optimistic transactions do not hold data store locks until commit time. Optimistic transactions do not hold data store locks until commit time. Returns: the value ... do not hold data store locks until commit time. Optimistic transactions do not hold data store locks
JPA Doc
7

javax.persistence.EntityNotFoundException

is called and the object no longer exists in the database. Thrown when EntityManager.lock is used with pessimistic locking is used and the entity no longer exists in the database. The current transaction ... ) EntityManager.lock(Object, LockModeType) EntityManager.lock(Object, LockModeType, java.util.Map