I'm wondering how to do saveOrUpdate properly for Objects that contain lists of other objects. The way it now does it for me, is that saveOrUpdate works fine with object itself, but it adds new entries for the object's list even though those entries already exist. In other words, it is duplicating data unnecessary.
Could someone help or show me how such a mapping is done? I have the hibernate mapping files, but do not have access to them from this computer. I can post them later if they are deemed necessary.
I'm using "assigned" for parent object's generator-class.
Could someone help or show me how such a mapping is done? I have the hibernate mapping files, but do not have access to them from this computer. I can post them later if they are deemed necessary.
I'm using "assigned" for parent object's generator-class.
Comment