| |
|
| java.lang.Object org.apache.ojb.otm.OTMKit org.apache.ojb.otm.kit.SimpleKit
All known Subclasses: org.apache.ojb.otm.TestKit,
SimpleKit | public class SimpleKit extends OTMKit (Code) | | A base implementation of an OTMKit using local transactions, an
in-memory lock map, and metadata based object copying for
object swizzling in transactional contexts.
author: Raghu Rajah |
Constructor Summary | |
protected | SimpleKit() Constructor for SimpleKit. |
SimpleKit | protected SimpleKit()(Code) | | Constructor for SimpleKit.
|
getInstance | public static SimpleKit getInstance()(Code) | | Obtain the single instance of SimpleKit
|
isEagerInsert | public boolean isEagerInsert(Object obj)(Code) | | Should OTM perform INSERTs for the given object eagerly or during commit?
|
isImplicitLockingUsed | public boolean isImplicitLockingUsed()(Code) | | Should OTM implicitely lock all objects that are reachable
from the explicitely locked object? The updates to the locked
objects are automatically stored to the database at the end
of transaction.
|
isInsertVerified | public boolean isInsertVerified()(Code) | | Should OTM verify each inserted object for presence in the database?
|
|
|
|