This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JBoss/WildFly and the fly likes Transaction timeout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Transaction timeout" Watch "Transaction timeout" New topic
Author

Transaction timeout

Sharon whipple
Ranch Hand

Joined: Jul 31, 2003
Posts: 294
Hi all
Out jee app is using Oracle 10,
My datasource timeout defined for 3 min,

I was wandering what if oracle transaction timeout is shorter then the Jboss timeout?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10394
    
174

Then the connection will be stale and any operation using that connection will result in an exception. There are some properties that you can set on the datasource which can avoid such a situation. See this for details.


[My Blog] [JavaRanch Journal]
 
 
subject: Transaction timeout