This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes BEA/Weblogic and the fly likes Transaction timeouts behaviour - explanation needed Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Transaction timeouts behaviour - explanation needed" Watch "Transaction timeouts behaviour - explanation needed" New topic
Author

Transaction timeouts behaviour - explanation needed

vasiniy pupkin
Greenhorn

Joined: Apr 05, 2012
Posts: 2
Hello all,

I'm a newbie to Weblogic and would like to understand how transaction timeouts work in Weblogic. I have a EJB2 application running under Weblogic 10.3 and using Oracle 11g database via thin jdbc driver.
I noticed that if I set trans-timeout-seconds in deployment descriptor it terminates sql queries if they overflow the limit. Say I have timeout set to 10 seconds, it will stop executing sql query after that time and immediately return exception to caller of the current EJB method. This is just perfect!
What I want is to understand how that is done, does it proxy driver somehow? Will it work with other databases, Postgresql for example?
Can I port same behavior to other app servers, JBoss for example.

Thank you in advance.
vasiniy pupkin
Greenhorn

Joined: Apr 05, 2012
Posts: 2
Any ideas?
 
jQuery in Action, 2nd edition
 
subject: Transaction timeouts behaviour - explanation needed
 
Similar Threads
how can I specify EJB timeout?
How to catch EJB Transaction Timeout?
Weblogic 6.0 connection get stuck
EJB 3 TransactionTimeout annotation needed
*URGENT* Boundary of trans-timeout-seconds