-
1. Re: Bidirectional one-to-many resulting in multiple (identic
steverb Dec 14, 2005 2:36 PM (in response to steverb)I should mention that I'm pretty sure the annotations are all correct. I can create and remove all the entities, and that all works fine. It is just on reading, that I get these duplicate entries.
-
2. Re: Bidirectional one-to-many resulting in multiple (identic
epbernard Dec 30, 2005 8:25 PM (in response to steverb)do not eager several collections per resultset
-
3. Re: Bidirectional one-to-many resulting in multiple (identic
steverb Jan 3, 2006 10:38 AM (in response to steverb)I'm not sure I understand what you are saying, but I did test out all combinations of Eager vs. Lazy fetching, and it made no difference. We are literally getting back multiple objects that have the same ID.
-
4. Re: Bidirectional one-to-many resulting in multiple (identic
epbernard Jan 3, 2006 11:25 AM (in response to steverb)this means that display has 2 EAGER (or Group 1 EAGER and DISPLAY 1 EAGER)
Check the executed queries -
5. Re: Bidirectional one-to-many resulting in multiple (identic
steverb Jan 31, 2006 4:17 PM (in response to steverb)Sorry it has taken so long to reply - things have been extremely busy. Anyhow, as I said earlier, I have tried changing things to Lazy, but whether they are gotten lazily or eagerly, I still get duplicates. (Whether the getter is called early or late doesn't seem to change things).
-
6. Re: Bidirectional one-to-many resulting in multiple (identic
ejb3workshop Jan 31, 2006 6:24 PM (in response to steverb)We experienced similar problems and resovled them "temporarily" by changing to Sets rather then Lists. I believe this to be fixed in RC4 (available under other downloads) as well as the CVS checkout. What release of JBoss / EJB3 are you running against ?
-
7. Re: Bidirectional one-to-many resulting in multiple (identic
murtuza52 May 29, 2006 4:25 PM (in response to steverb)I am having similar problems with JBoss 4.0.4CR2. I am using Collection and i cannot change this to Set as this would get more complicated. This problem arised only when i upgraded from JBoss 4.0.3
-
8. Re: Bidirectional one-to-many resulting in multiple (identic
sushant1shah1 Sep 8, 2006 11:00 AM (in response to steverb)I haveing same problem with JBoss 4.0.4GA
-
9. Re: Bidirectional one-to-many resulting in multiple (identic
swenbarth Sep 25, 2006 9:47 AM (in response to steverb)I can also confirm this problem for JBoss 4.0.4GA.