Hi All,
javax.persistence.PersistenceException: org.hibernate.HibernateException: cannot simultaneously fetch multiple bags
I have a class and traversing is in this way
ABC Class ----> RDefination ---> RDetail
I have @oneToMany relationship and fetching strategy as Lazy. I have used list..
@OneToMany
@IndexColumn(name="INDEX_COL")
public List getRules() {
return rules;
}
@OneToMany
@IndexColumn(name="INDEX_COL")
public List getRDetails() {
return ruleDetails;
}
still it is giving me an error.
Thanks,
Rahul
I changed List to Set, SortedSet....
but the Same error....Is it a bug??