/** * INTERNAL: * Iterate through the change records and ensure the cache synchronization types * are set on the change sets associated with those records. */ public void prepareChangeRecordsForSynchronization(AbstractSession session) { Enumeration records = getChanges().elements(); while (records.hasMoreElements()) { ((ChangeRecord)records.nextElement()).prepareForSynchronization(session); } }