This content has been marked as final.
Show 3 replies
-
1. Re: ReEntrant method called detect ??
pablojavierpy Mar 2, 2005 5:22 AM (in response to ericmacau)If you have an EJB A that calls another EJB B, and then the EJB B calls again some method of EJB A.
1) EJB A calls foo() method of EJB B
2) EJB B's foo method calls setPrice of EJB A -
2. Re: ReEntrant method called detect ??
ericmacau Mar 2, 2005 8:00 PM (in response to ericmacau)It means if I set the False then it will raise the exception "... reentrant method called detect ....".
So, how about I define the True ? Can it be solve the problem?
As in your example, do I need to define the to be True in both EJB A and EJB B ? -
3. Re: ReEntrant method called detect ??
ericmacau Mar 3, 2005 1:24 AM (in response to ericmacau)If the CMP/CMR relation is bi-directional, does it must raise "reentrant method called" ?
If so, how can prevent this if I want to get teh object of other side?