Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes EJB and other Java EE Technologies and the fly likes Specifying Transaction Duration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Specifying Transaction Duration" Watch "Specifying Transaction Duration" New topic

Specifying Transaction Duration

Prakash Dwivedi
Ranch Hand

Joined: Sep 28, 2002
Posts: 452
My problem is i get an error "Transaction Rollback due to Time Out" whenever i have to perform some large database operations. Can we specify duration of a Transaction, in an EJB Application. I am using Oracle 10G, and i am unable to find any such option.


Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

Which app server are you using ? Weblogic has transaction timeout configuration so should other servers as well.

Prakash Dwivedi
Ranch Hand

Joined: Sep 28, 2002
Posts: 452
I am using Oracle 10GAS and so far i am not able to find any such option here.
I agree. Here's the link:
subject: Specifying Transaction Duration
It's not a secret anymore!