Changeset 7131


Ignore:
Timestamp:
Apr 21, 2016, 12:58:00 PM (6 years ago)
Author:
Nicklas Nordborg
Message:

References #2000: Batch API for annotation handling

Do not log old or new annotation values when disabled by the annotation type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/net/sf/basedb/core/log/db/AnnotationLogger.java

    r7128 r7131  
    9898     
    9999      source = Annotation.Source.PRIMARY;
    100       oldValues = info.getOldValues();
    101       newValues = info.getNewValues();
     100      if (at.getDisableLogOfValues()) logOldPropertyValues = false;
     101      if (logOldPropertyValues)
     102      {
     103        oldValues = info.getOldValues();
     104        newValues = info.getNewValues();
     105      }
    102106    }
    103107    else if (entity instanceof AnnotationData)
Note: See TracChangeset for help on using the changeset viewer.