This content has been marked as final.
Show 4 replies
-
1. Re: how to add/remove data from many-to-many CMR?
aloubyansky Jul 10, 2004 5:38 AM (in response to didi)You should read a paragraph in EJB2.x spec.
-
2. Re: how to add/remove data from many-to-many CMR?
didi Jul 11, 2004 1:41 PM (in response to didi)can you give me a paragraph number please?
10.3.4 explains removing from a relationship. As far as I understood it you just have to entityBean2.remove() and entityBean2 gets removed from the relationship of entityBean1 (suggest there was a relationship between entityBean1 and entityBean2). Is that right?
adding should be done with entityBean1.getEntityBean2s().add(entityBean2); But what do I actually add: the ValueObject or the (Local)Interface?
tnx anyway -
3. Re: how to add/remove data from many-to-many CMR?
darranl Jul 12, 2004 9:14 AM (in response to didi)Add the local interface.
-
4. Re: how to add/remove data from many-to-many CMR?
didi Jul 12, 2004 10:20 AM (in response to didi)thanks
(I confess: I never did CMP/CMR before... just BMP)