My Oracle Support Banner

How to Change the Transaction Mode of Multiple Data Sources using WLST (Doc ID 2083426.1)

Last updated on JULY 16, 2024

Applies to:

Oracle WebLogic Server - Version 10.3.6 and later
Information in this document applies to any platform.

Goal

This article shows how to change the configuration of all the data sources in a domain at one time using WebLogic Scripting Tool (WLST). The example shows changing what transactions protocol is employed when global transactions are supported (that is, 1-phase commit vs. emulate 2-phase commit vs. logging last resource or LLR).

The sample code shows how to use a "for... in..." block to loop through all the data sources in the configuration and change each one.

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
 Requirements
 Configuring
 Instructions
 Sample Code
 Sample Output
References


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