A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
One-To-Many collection not updating
Joined: May 15, 2008
Oct 07, 2008 20:55:00
I have implemented a one-to-many birectional relationship. The class City maintains a collection of the instances of class Branch.
When i am doing any updates in the collection (like changed the branch address) and than calling merge on the City bean, the changes are reflected in the database.
But when i am removing an instance from the collection, and than calling merge on the City bean, its not deleting the branch from the db.
What's the reason? and how to fix it?
I agree. Here's the link:
subject: One-To-Many collection not updating
some basic questions about clearcase
SVN Merging Branches
Problem with CMR : please help
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014