boolean auditableChange(Persistent object) {
if (ignoredProperties.isEmpty()) {
return true;
}
ChangeSet changeSet = ChangeSetFilter.preCommitChangeSet();
if (changeSet == null) {
throw new CayenneRuntimeException(
"Required ChangeSetFilter is not installed, or is in the wrong place in the filter chain.");
}
Map<String, PropertyChange> changes = changeSet.getChanges(object);
if (changes.size() > ignoredProperties.size()) {
return true;
}