XCC Session.setTransactionMode is Deprecated
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: |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|