Expert |
|
Joined: Tue Dec 07, 2004 6:57 am Posts: 285 Location: Nürnberg, Germany
|
Why don't you eagerly fetch the set?
select eventPostingForm from EventPostingForm eventPostingForm left join fetch eventPostingForm.scheduleSet where eventPostingForm.eventId= "+ eventId
Can it be that you only have one entry in the DB?
Maybe you want to try to add methods like addScheduleSet and removeScheduleSet and clearScheduleSet ... with this you could clear your scheduleSet after loading it and add new entries to the collection
_________________ Please don't forget to rate
|
|