[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problem with CMP

justkeys do-not-reply at jboss.com
Thu Jun 4 04:42:18 EDT 2009

I think it all depends on the transaction attributes.
You have to make sure that the fetching and modification of the entity happen within the same transaction, by annotating the outer ejb with

  | @TransactionAttribute(javax.ejb.TransactionAttributeType.REQUIRED)

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235191#4235191

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4235191

More information about the jboss-user mailing list