[jboss-user] [EJB 3.0] - Re: Can't get @TransactionTimeout to work

jaikiran pai do-not-reply at jboss.com
Thu Sep 23 12:17:02 EDT 2010

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

Start a new discussion in EJB 3.0 at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100923/7a2810d8/attachment.html 

More information about the jboss-user mailing list