HOWTO Simplify TransactionDemarcation Usage With Java 7 AutoClose Feature (Doc ID 2021156.1)

Last updated on JUNE 18, 2015

Applies to:

Oracle Commerce Platform - Version 11.1 and later
Information in this document applies to any platform.


Oracle Commerce 11.1 includes a new Java class: atg.dtm.AutoCloseTransactionDemarcation. The new class makes it much simpler for application code to exploit transaction demarcation. The new class makes use of features added in Java 7 so it is only usable when compiling application code with Java 7.

Correct transaction handling is VERY important to assure reasonable performance running Oracle Commerce with XA transactions. Projects based on Oracle Commerce will be more successful when transaction demarcation is exploited. Please see Knowledge document "Transaction Demarcation is Essential When Using XA Datasources" (Note 1416508.1).


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms