This content has been marked as final.
Show 3 replies
-
1. Re: How can I setup hibernate JPA transaction timeout in JBoss?
jaikiran Apr 25, 2013 7:56 AM (in response to als)If it's container managed transactions on EJBs then you can use the @org.jboss.ejb3.annotation.TransactionTimeout annotation which takes a value in seconds.
-
2. Re: How can I setup hibernate JPA transaction timeout in JBoss?
lafr Apr 25, 2013 9:54 AM (in response to jaikiran)Or you specify a different unit like
@TransactionTimeout(value = 1, unit = TimeUnit.DAYS)
-
3. Re: How can I setup hibernate JPA transaction timeout in JBoss?
als Apr 25, 2013 9:59 AM (in response to lafr)Guys, thanks, boyth answers are correct.
another question- do we have in JBoss something like Application scope in Servlets- something that I can wrote Application[key]=value- and all Ejbs in the same ear could see it. I know about JBoss Cache but is there something more simple?