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

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177818#4177818

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177818
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to