users@glassfish.java.net

Re: [Toplink] Problem getting the updated data

From: <glassfish_at_javadesktop.org>
Date: Wed, 19 Nov 2008 14:36:17 PST

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