Isn't this replaces all patients in the clinic:
Collection<Patient> patients = new ArrayList<Patient>();
patients.add(patient);
clinic.setPatients(patients);
Even if the others are not deleted by this operation (I would expect it should), the cached list has only 1 entry.
Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]
http://forums.java.net/jive/thread.jspa?messageID=317721