Execute your finder and the collection iteration in one transaction. f.e. 
generate a sessionbean and a method with transaction required.The entity 
transaction state should always be transaction required. In this method call 
the finder and make the iteration.
if you are using a remote client directly accessing the entitys then a user 
transaction is reuqired.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to