|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Offers useful none odmg-standard methods.
Note: All listed methods are not part of the standard ODMG-api - they are special (proprietary) OJB extensions.
Field Summary |
Fields inherited from interface org.odmg.Transaction |
READ, UPGRADE, WRITE |
Method Summary | |
void |
flush()
Calling flush flushes persistent object modifications
made within the ODMG transaction since the last checkpoint to the underlying
database transaction, but does commit the database transaction. |
void |
markDelete(java.lang.Object anObject)
marks an object for deletion without locking the object. |
void |
markDirty(java.lang.Object anObject)
marks an object as dirty without locking the object. |
void |
setImplicitLocking(boolean value)
This method can be used to activate or deactivate the implicit locking mechanism for the current transaction. |
Methods inherited from interface org.odmg.Transaction |
abort, begin, checkpoint, commit, isOpen, join, leave, lock, tryLock |
Methods inherited from interface org.apache.ojb.odmg.HasBroker |
getBroker |
Method Detail |
public void markDelete(java.lang.Object anObject)
anObject
- Object to be markedpublic void markDirty(java.lang.Object anObject)
anObject
- Object to be markedpublic void flush()
Calling flush
flushes persistent object modifications
made within the ODMG transaction since the last checkpoint to the underlying
database transaction, but does commit the database transaction.
The ODMG transaction retains all locks it held on those objects at the time the flush
was invoked.
Transaction.checkpoint()
.
public void setImplicitLocking(boolean value)
value
- if set to true implicit locking is enabled,
if false, implicit locking is disabled.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |