Session bean methods defined as transactional happen within a single transaction. So in
your case all of the queries (or updates) within that method are done within the same
transaction.
You can specify the transaction scope like this:
@TransactionAttribute(TransactionAttributeType.REQUIRED)
public void someMethod(...)
REQUIRED is the default, so you could actually leave it off.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4193081#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...