jaikiran pai [
http://community.jboss.org/people/jaikiran] created the discussion
"Re: Can't get @TransactionTimeout to work"
To view the discussion, visit:
http://community.jboss.org/message/563364#563364
--------------------------------------------------------------
Pablo Fraga wrote:
Hi,
I have the same problem. I'am using EJB3, JBoss 4.2.3 GA, SLSB with CMP
transactions.
Code snap:
import org.jboss.annotation.ejb.TransactionTimeout;
@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW)
@TransactionTimeout(15)
public AbstractResult compra(AbstractCommand command){
The timeout doesn't work for me using this annotation with this full qualified name.
But the thing is that i can't find the other one in any jar provided by JBoss.
Can't find org.jboss.ejb3.annotation.TransactionTimeout.
Since you are using, AS
4.2.x, the annotation to use is org.jboss.annotation.ejb.TransactionTimeout.
If that doesn't work, then please post relevant EJB code and the logs that indicate
that the timeout isn't working.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/563364#563364]
Start a new discussion in EJB 3.0 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]