Powered by Zoomin Software. For more details please contactZoomin

Develop with XCC

Using Multi-statement Transactions With Older MarkLogic Versions

Using Multi-statement Transactions With Older MarkLogic Versions

  • Last Updated: January 16, 2026
  • 1 minute read
    • MarkLogic Server
    • Version 11.0
    • Documentation

If you use multi-statement transactions or set the transaction time limit when using XCC version 8.0-2 or later with versions of MarkLogic Server older than 8.0-2, you should set the system property xcc.txn.compatible to true. If you do not set this, then you will get an exception when trying to set the transaction mode or transaction time limit.

You can set the property on the java command line with an argument of the following form:

java -Dxcc.txn.compatible=true

You can also set the property programmatically by calling System.setProperty.

You do not need to set the property if your XCC application does not use multi-statement transactions or if your application communicates with MarkLogic Server version 8.0-2 or later.

TitleResults for “How to create a CRG?”Also Available inAlert