Difference between Statement Timeout and XA Transaction Timeout
Hi, how are you?
We want to know ,please, what is the difference between "Statement Timeout" and "XA Transaction Timeout"? are they related?
We java a single datasource using the driver oracle.jdbc.xa.client.OracleXADataSource.
Reading the documents we found that we must have the following configuration
Distributed lock timeout (DISTRIBUTED_LOCK_TIMEOUT) > XA Transaction Timeout >= Global Transaction Timeout (WebLogic Server JTA timeout) > EJBs transaction timeout
But there is no mention about "Statement Timeout".
What if "Statement Timeout" < JTA Timeout? it will affect the procesing in a JTA transaction?
The java.sql.Statement.setQueryTimeout() is supported by oracle.jdbc.xa.client.OracleXADataSource ?