Configurable
, Service
SimpleTransactionService
, TransactionServiceImpl
public interface TransactionService extends Service
Collection
operations into a
transaction.
Note: This interface needs much better definitionModifier and Type | Field | Description |
---|---|---|
static java.lang.String |
SERVICE_NAME |
Modifier and Type | Method | Description |
---|---|---|
void |
begin() |
Begin the transaction
|
void |
commit() |
Commit the transaction
|
void |
rollback() |
Rollback the transaction
|
getProperty, setProperty
getName, getVersion, setCollection
static final java.lang.String SERVICE_NAME
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.Copyright (C) XML:DB Initiative. All rights reserved.%lt;/font>