#1821 - Remove serverConfig updateChangesOnly mode ... as always true

This commit is contained in:
rob bygrave
2019-09-15 21:29:25 +12:00
parent cecf2fc650
commit 3574479627
8 changed files with 3 additions and 95 deletions
@@ -11,7 +11,6 @@ import io.ebean.annotation.Index;
import io.ebean.annotation.InvalidateQueryCache;
import io.ebean.annotation.ReadAudit;
import io.ebean.annotation.StorageEngine;
import io.ebean.annotation.UpdateMode;
import io.ebean.annotation.View;
import io.ebean.config.TableName;
import io.ebeaninternal.server.deploy.BeanDescriptor.EntityType;
@@ -190,11 +189,6 @@ public class AnnotationClass extends AnnotationParser {
descriptor.setDbComment(comment.value());
}
UpdateMode updateMode = findAnnotationRecursive(cls, UpdateMode.class);
if (updateMode != null) {
descriptor.setUpdateChangesOnly(updateMode.updateChangesOnly());
}
if (!disableL2Cache) {
Cache cache = findAnnotationRecursive(cls, Cache.class);
if (cache != null) {