You are responsible for configure a WebLogic domain to support an order processing application.
This application will communicate with multiple JDBBC data sources to fulfill each customer order.
To maintain data integrity across these databases, work will be performed within a global
transaction. However, you have learned that one of the data sources in the transaction does not
have an XA driver.
Which option should you select on this non-XA data source to ensure that orders are still
processed as global transactions?
A.
IgnoreHeuristics
B.
Pinned to Thread
C.
One phase commit
D.
Logging connections on Resource
E.
Test connection on Reserve
I think the answer is D
Explanation :
If you selected Supports Global Transactions, select an option for transaction processing:
D : is Right because – Logging Last Resource – Select this option to enable a non-XA JDBC connection to participate in global transactions using the Logging Last Resource (LLR) transaction optimization. Recommended in place of Emulate Two-Phase Commit.
C : is Wrong because – One-Phase Commit – Select this option to enable the non-XA connection to participate in a global transaction as the only transaction participant.
A and B don’t exist
E is use to perform test : http://docs.oracle.com/cd/E13222_01/wls/docs81/jdbc/programming.html
source : https://docs.oracle.com/cd/E57014_01/wls/WLACH/taskhelp/jdbc/jdbc_datasources/ConfigureTransactionOptionsForADataSource.html
D is the best answer, but the option is “Logging Last Resource”
source:
http://docs.oracle.com/cd/E24329_01/web.1211/e24367/transactions.htm#JDBCA146
Yes, D : “Logging Last Resource”