public interface TransactionService extends Service
Collection operations into a
transaction.
Note: This interface needs much better definition| Modifier and Type | Method and Description |
|---|---|
void |
begin()
Begin the transaction
|
void |
commit()
Commit the transaction
|
void |
rollback()
Rollback the transaction
|
getName, getVersion, setCollectiongetProperty, setPropertyvoid begin()
throws XMLDBException
XMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.void commit()
throws XMLDBException
XMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.void rollback()
throws XMLDBException
XMLDBException - with expected error codes.ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.