Joined: Thu Aug 24, 2006 11:10 am Posts: 16
|
I'm using hibernate 3.2.1 joining weblogic 9.2 and JTATransaction.
In my application I have a initialisation step in which needs a long transaction ~10 Minutes until it is finished. I don't want to change the default JTA Timeout configuration in weblogic (30 seconds) therefore I want to set the timeout manually in the application in this way.
trans = session.getTransaction();
trans.setTimeout(600); //10 minutes
trans.begin();
....
This is exactly the way I found in the hibernate documentation, but it seems that weblogic ignores this timeout and always uses its default of 30 seconds.
Do I something wrong? Any help is welcome.
Cheers
Meinolf
|
|