mmesh wrote:
I have a many-to-many relationship ...
My Bs collection is lazy. My problem is, when I add a new B to the collection, I am reading the entire collection and then adding to it! ...
it may be working as designed. someone posted the links below to answer a related question. iirc, you can prevent the lazy load by just pointing the child to the parent, but then hibernate may become out of sync with the db.
http://www.hibernate.org/155.html
http://www.hibernate.org/hib_docs/refer ... child.html
thanks