File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Elasticsearch in Action this week in the Big Data 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