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
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3947471#3947471
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).
View the
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 ?
View the original post :
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.
View the original post :
this means that display has 2 EAGER (or Group 1 EAGER and DISPLAY 1 EAGER)
Check the executed queries
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3915319#3915319
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3915319
do not eager several collections per resultset
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3915006#3915006
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3915006
---
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.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3912707#3912707