Hello, I have this snippet:
@Asynchronous
public void rebuildIndex() {
FullTextSession session = (FullTextSession) entityManager.getDelegate();
Transaction userTx = session.beginTransaction();
userTx.setTimeout(1000000000);
...
}
Now, the problem is that the setTimeout call fails, because you may not call it
for managed transactions. The default setting appears to be 3 minutes, until it
times out. But, normally, this method will take about 20 minutes. Maybe even
more. So, how can I change the timeout?
Thanks in advance!
niko
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136596#4136596
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136596
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user