Could someone help me understand why @CollectionId is required for multiple 
simultaneous bag fetching? All it does is create an invisible primary key for 
the collection. I understand this in the case of unidirectional relationships, 
but if I have a bidirectional relationship, what purpose does this serve, since 
the referenced entity already has a primary key? Why can't hibernate use the 
target entity's existing primary key?

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

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

Reply via email to