Taking a que from Head First, say we have two entity beans, Director and Movie, in a CMR. Consider this line of code ...
For each movie in myMovieColl this line of code would change thier director to be myDirector? This change would be made in the database as well, right?
I tried this out and it's not working. Basically getMovies() will give back myMovieColl but that's about all. The movies in myMovieColl still have thier old director. I checked the DD out, and it matches whats in the book.
Any ideas? Can anyone confirm what is supposed to happen?