users@glassfish.java.net

Re: Trouble with transactions

From: <forums_at_java.net>
Date: Wed, 25 May 2011 09:23:00 -0500 (CDT)

What you probably want is the annotation

<code>@TransactionAttribute( TransactionAttributeType.REQUIRED )</code>

on each of the methods invloved. That way they will join a transaction if
there is one already started or start a new transaction if there isn't.

Nick


--
[Message sent by forum member 'nickwi']
View Post: http://forums.java.net/node/805914