[jboss-user] [JBoss Seam] - Re: Transaction TimeOut and Stateful Session Bean

2008-01-16 Thread dreuzel
Nice to change the transaction timeout for every application. I guess your server does other functions as well Would you not prefer to set the transaction timeout for those long updates separately. as your system will get more load, your new timeout will ellapse as well. View the

[jboss-user] [JBoss Seam] - Re: Transaction TimeOut and Stateful Session Bean

2008-01-16 Thread rodrigotico
Hi Dreuzel, I tried to set the transaction timeout for this function separately, but I didn't got success. I used the annotation below at the import function and the timeout still keeping the default of 300 seconds: | @TransactionTimeout(value=1000) | public String importFromFile()

[jboss-user] [JBoss Seam] - Re: Transaction TimeOut and Stateful Session Bean

2008-01-16 Thread dreuzel
JTA delegate | ses=(Session) em.getDelegate() | txn=ses.beginTransaction(); | txn.setTimeout(50); | .. | ses.flush(); | txn.commit(); | | | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4120438#4120438 Reply to the post :