Make sure that both beans ( the session bean and the entity bean) declare that a transaction is "required". Then all of the 'internal' CMP entity bean operations should run in the same transaction of the 'outer' session bean. The container will create a transaction before invokation of your session bean method and will reuse this transaction for all embeded entity operations.
Regards Ulf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3887642#3887642 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3887642 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
