Oracle Weblogic Server (MOSC)

MOSC Banner

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 ?

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center