Hi Guys :
I have a hibernate issue which should be fairly common.
I have a class ... Airplane, with a collection of seats
class Airplane
{
Set<Seat> seats;
//getters and setters.
}
Now, when I modify one of the seats(call it s) , and I call session.refresh(s), the airplanes's list of seats does not reflect this modification. After restarting my app, the change is reflected ...
How can i make sure that an object's children will be modified in such a way as to ensure that any collection's to which they belong to stay in sync with the database ? it seems like refresh( is not sufficient.
-j
|