Hi, I have one class (Class1 )which have reference to another class (Class2).... so whenever i do saveorupdate(Class1). it updates it and also enter the value in table of class2. but the old value still remains in class2... Below is my hbm.xml file..
cascade option works for many-to-one mapping. Please provide a clear explanation of your parent object, associated child object and what is the problem when you save or update your parent object. You might have explained but it will be nice if you explain clearly.
Won't you please? Please won't you be my neighbor? - Fred Rogers. Tiny ad:
Devious Experiments for a Truly Passive Greenhouse!