XCC Session.setTransactionMode is Deprecated
- Last Updated: April 14, 2026
- 1 minute read
- MarkLogic Server
- Version 11.0
- Documentation
Use of Session.setTransactionMode to specify commit semantics and transaction type is deprecated as MarkLogic 9.0-2. This function will be removed in a future version. Use the new Session.setAutoCommit and Session.setUpdate methods instead.
The following table illustrates how to replace calls to setTransactionMode with equivalent calls to setAutoCommit and setUpdate:
If you call |
Then replace it with the following calls on the same Session object: |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|