This content has been marked as final.
Show 1 reply
-
1. Re: A CMR collection may only be used within the transction
pilhuhn Feb 23, 2004 2:58 PM (in response to mhensler)The error you see pretty much tells all.
What you probably do is something in your servlet:
a = getOneSideOfCmr();
b = a.getOtherSide();
There ist no transaction around it, so b is invalid.
Either surround this by a user transaction
or do the two calls within a method in a session bean.