org.xmldb.api.modules
public interface TransactionService extends Service
Collection
operations into a
transaction.
Note: This interface needs much better definitionModifier and Type | Method and Description |
---|---|
void |
begin()
Begin the transaction
|
void |
commit()
Commit the transaction
|
void |
rollback()
Rollback the transaction
|
getName, getVersion, setCollection
getProperty, setProperty
void 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.