My Oracle Support Banner

Can a JCA Adapter Use Both XA and non-XA Data Sources? (Doc ID 1170350.1)

Last updated on MARCH 06, 2019

Applies to:

Oracle Enterprise Service Bus - Version 10.1.3.4.0 and later
Oracle(R) BPEL Process Manager 10g - Version 10.1.3.4 and later
Information in this document applies to any platform.
***Checked for relevance on 08-March-2012***


Goal

You have configured an adapter with both XA (global transaction) and non-XA (local transaction) data sources.  But you have some questions.

You have a BPEL process which invokes a database adapter with both XA and non-XA data sources defined. The adapter writes to a database table. The next activity in your process calls an Oracle Applications adapter (again with XA and non-XA data sources defined) which calls a stored procedure and throws an error. After the error, on checking the database table which was written to by the database adapter, you find the record is still there.

The transaction should have rolled back and should not have committed the write to the table, correct?

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.