Hi,


I also got problems with cascade,

when I have for example a Person and I want to add a car to the person

I create a Car, add it to a HashSet and and that HashSet to the person by 
calling person.setCars(carsSet);



it this the correct way?

Currently when I update the person no cars are stored.



I am using hibernate + spring and the HibernateTemplate is used to save in the 
dao.
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3856#3856
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to