|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use LockingException | |
|---|---|
| org.apache.ojb.otm | |
| org.apache.ojb.otm.core | |
| org.apache.ojb.otm.lock | |
| org.apache.ojb.otm.lock.isolation | |
| org.apache.ojb.otm.lock.wait | |
| Uses of LockingException in org.apache.ojb.otm |
|---|
| Methods in org.apache.ojb.otm that throw LockingException | |
|---|---|
void |
OTMConnection.deletePersistent(Object obj)
Mark the given object for deletion from the persistent store. |
Object |
OTMConnection.getObjectByIdentity(Identity oid)
Get the object with the given Identity from the persistent store. |
Object |
OTMConnection.getObjectByIdentity(Identity oid,
int lock)
Get the object with the given Identity from the persistent store with the given lock value. |
void |
EditingContext.insert(Identity oid,
Object userObject,
int lock)
Insert the given object into the EditingContext, acquiring the specified lock. |
void |
OTMConnection.invalidate(Identity oid)
In the case if the program need to change the objects via direct JDBC call, it should first call invalidate() for the object, which will lock the object for write and tell OJB OTM that it must be re-read from the database, only after that you shold perform JDBC operation. |
void |
OTMConnection.invalidateAll()
clear the underlying caches |
void |
OTMConnection.lockForWrite(Object object)
Lock the given object for Write. |
Object |
EditingContext.lookup(Identity oid)
Lookup object with the given oid in the Context. |
State |
EditingContext.lookupState(Identity oid)
lookup the state of an object, given the oid, in the context |
void |
OTMConnection.makePersistent(Object object)
Make the given object persistent by inserting it into the database. |
| Uses of LockingException in org.apache.ojb.otm.core |
|---|
| Methods in org.apache.ojb.otm.core that return LockingException | |
|---|---|
LockingException |
LockingPassthruException.getLockingException()
|
| Methods in org.apache.ojb.otm.core that throw LockingException | |
|---|---|
void |
ConcreteEditingContext.deletePersistent(Identity oid,
Object userObject)
|
void |
BaseConnection.deletePersistent(Object userObject)
|
Object |
BaseConnection.getObjectByIdentity(Identity oid)
|
Object |
BaseConnection.getObjectByIdentity(Identity oid,
int lock)
|
void |
ConcreteEditingContext.insert(Identity oid,
Object userObject,
int lock)
|
void |
BaseConnection.invalidate(Identity oid)
|
void |
BaseConnection.invalidateAll()
TODO remove all from editing context. |
void |
BaseConnection.lockForWrite(Object object)
|
State |
ConcreteEditingContext.lookupState(Identity oid)
|
void |
BaseConnection.makePersistent(Object userObject)
|
| Constructors in org.apache.ojb.otm.core with parameters of type LockingException | |
|---|---|
LockingPassthruException(LockingException cause)
Constructor for LockingPassthruException. |
|
| Uses of LockingException in org.apache.ojb.otm.lock |
|---|
| Methods in org.apache.ojb.otm.lock that throw LockingException | |
|---|---|
void |
LockManager.ensureLock(Identity oid,
Transaction tx,
int lock,
PersistenceBroker pb)
|
void |
ObjectLock.waitForTx(Transaction tx)
|
void |
ObjectLock.writeLock(Transaction tx)
|
| Uses of LockingException in org.apache.ojb.otm.lock.isolation |
|---|
| Methods in org.apache.ojb.otm.lock.isolation that throw LockingException | |
|---|---|
void |
TransactionIsolation.readLock(Transaction tx,
ObjectLock locks)
|
void |
RepeatableReadIsolation.readLock(Transaction tx,
ObjectLock lock)
|
void |
ReadCommittedIsolation.readLock(Transaction tx,
ObjectLock lock)
|
void |
SerializableIsolation.readLock(Transaction tx,
ObjectLock lock)
|
void |
TransactionIsolation.writeLock(Transaction tx,
ObjectLock locks)
|
void |
RepeatableReadIsolation.writeLock(Transaction tx,
ObjectLock lock)
|
void |
ReadCommittedIsolation.writeLock(Transaction tx,
ObjectLock lock)
|
void |
ReadUncommittedIsolation.writeLock(Transaction tx,
ObjectLock lock)
|
void |
SerializableIsolation.writeLock(Transaction tx,
ObjectLock lock)
|
| Uses of LockingException in org.apache.ojb.otm.lock.wait |
|---|
| Subclasses of LockingException in org.apache.ojb.otm.lock.wait | |
|---|---|
class |
ConcurrentModificationException
|
class |
DeadlockException
|
| Methods in org.apache.ojb.otm.lock.wait that throw LockingException | |
|---|---|
void |
LockWaitStrategy.waitForLock(ObjectLock lock,
Transaction tx)
|
void |
TimeoutStrategy.waitForLock(ObjectLock lock,
Transaction tx)
|
void |
NoWaitStrategy.waitForLock(ObjectLock lock,
Transaction tx)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||