setAutoCommit() restrictions on a connection obtained from a XA DataSource in WebSphere Application Server
 Technote (FAQ)
 
Problem
setAutoCommit() is restricted on connections obtained from a XA DataSource in WebSphere® Application Server.
 
Solution
When an application gets the connection from a XA data source, the method setAutoCommit() on the connection can be set:
  • If only one resource is involved in the transaction

If more than one resource is involved in the transaction, it is not permitted and could result in the JDBC drivers throwing an exception.
 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > DB Connections/Connection Pooling
Operating system(s): Windows
Software version: 6.0
Software edition:
Reference #: 1205265
IBM Group: Software Group
Modified date: Apr 30, 2005