org.xmldb.api.modules
Interface TransactionService
- Configurable, Service
- SimpleTransactionService, TransactionServiceImpl
public interface TransactionService
Provides the ability to bundle
Collection operations into a
transaction.
Note: This interface needs much better definition
void | begin()- Begin the transaction
|
void | commit()- Commit the transaction
|
void | rollback()- Rollback the transaction
|
begin
public void begin()
throws XMLDBException Begin the transaction
XMLDBException - with expected error codes.
ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
commit
public void commit()
throws XMLDBException Commit the transaction
XMLDBException - with expected error codes.
ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.
rollback
public void rollback()
throws XMLDBException Rollback the transaction
XMLDBException - with expected error codes.
ErrorCodes.VENDOR_ERROR for any vendor
specific errors that occur.