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 Object Relational Mapping and the fly likes Hibernate Transaction Timed Out 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 » Databases » Object Relational Mapping
Bookmark "Hibernate Transaction Timed Out" Watch "Hibernate Transaction Timed Out" New topic

Hibernate Transaction Timed Out

Edmund Yong
Ranch Hand

Joined: Nov 16, 2003
Posts: 164
Does anyone know how the following exception comes about? If a query takes too long (> 32 s), does Hibernate throws an exception?

SCJP 1.2, SCWCD 1.4
pascal betz
Ranch Hand

Joined: Jun 19, 2001
Posts: 547
looks like this is Bea WLS throwing an exception after 30+ seconds duration of a transaction. You can configure this in the Admin Console. Do you need a transaction ? Why is the query taking so long ?

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Hibernate Transaction Timed Out
Similar Threads
Transaction timeout
transaction rollback or commit
ExecuteRequest javax.ejb.EJBException: EJB Exception:java.sql.SQLException:Write failed:Broken pipe
Message driven bean (CMT)