public interface CDOXATransaction extends CDOUserTransaction
resource sets,
each represented by a registered view set.| Modifier and Type | Method and Description |
|---|---|
void |
add(CDOViewSet viewSet) |
CDOXASavepoint |
getLastSavepoint() |
boolean |
isAllowRequestFromTransactionEnabled()
Allow request that come from contains
CDOTransaction. |
void |
remove(CDOViewSet viewSet) |
void |
setAllowRequestFromTransactionEnabled(boolean allRequest)
|
CDOXASavepoint |
setSavepoint()
Creates a save point in the
CDOTransaction that can be used to roll back a part of the transaction |
commit, commit, rollbackvoid add(CDOViewSet viewSet)
void remove(CDOViewSet viewSet)
void setAllowRequestFromTransactionEnabled(boolean allRequest)
boolean isAllowRequestFromTransactionEnabled()
CDOTransaction. Default value is true.
If the value is true, cdoTransaction.commit() will call xaTransaction.commit and all CDOXATransaction part
of xaTransaction will be committed.
If the value is false, the user will receive an exception by calling cdoTransaction.commit(). The user can only
commit from CDOXATransaction.
CDOXASavepoint setSavepoint()
CDOUserTransactionCDOTransaction that can be used to roll back a part of the transaction
Save points do not involve the server side, everything is done on the client side.
setSavepoint in interface CDOUserTransactionCDOXASavepoint getLastSavepoint()
getLastSavepoint in interface CDOUserTransactionCopyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html