|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ojb.otm.core.BaseConnection
org.apache.ojb.otm.transaction.LocalTransactionFactory.LocalConnection
private static class LocalTransactionFactory.LocalConnection
Represents a local connection. This is a private static inner class to restrict visibility to others.
| Constructor Summary | |
|---|---|
LocalTransactionFactory.LocalConnection(PBKey pbKey)
|
|
| Method Summary | |
|---|---|
void |
transactionBegin()
Notification issued by the driving transaction to begin this transaction |
void |
transactionCommit()
Notification issued by the driving transaction to commit resources held by this connection. |
void |
transactionPrepare()
Prepare for a commit. |
void |
transactionRollback()
Notification issued by the driving transaction to rollback resources held by this connection. |
| Methods inherited from class org.apache.ojb.otm.core.BaseConnection |
|---|
close, deletePersistent, getCollectionByQuery, getCollectionByQuery, getCount, getDescriptorFor, getEditingContext, getIdentity, getIteratorByOQLQuery, getIteratorByOQLQuery, getIteratorByQuery, getIteratorByQuery, getKernelBroker, getObjectByIdentity, getObjectByIdentity, getTransaction, invalidate, invalidateAll, isClosed, lockForWrite, makePersistent, newOQLQuery, newOQLQuery, refresh, serviceObjectCache, setTransaction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocalTransactionFactory.LocalConnection(PBKey pbKey)
| Method Detail |
|---|
public void transactionBegin()
throws TransactionException
BaseConnection
transactionBegin in class BaseConnectionTransactionExceptionBaseConnection.transactionBegin()
public void transactionPrepare()
throws TransactionException
BaseConnection
transactionPrepare in class BaseConnectionTransactionExceptionBaseConnection.transactionPrepare()
public void transactionCommit()
throws TransactionException
BaseConnection
transactionCommit in class BaseConnectionTransactionExceptionBaseConnection.transactionCommit()
public void transactionRollback()
throws TransactionException
BaseConnection
transactionRollback in class BaseConnectionTransactionExceptionBaseConnection.transactionRollback()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||