From 905565cbcce752eb39e67096135c8e82ec924fa7 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Thu, 23 May 2013 10:03:05 +0200 Subject: [PATCH] DATACMNS-332 - Cache AnnotationBasedPersistentProperty.isTransient(). --- .../model/AnnotationBasedPersistentProperty.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/springframework/data/mapping/model/AnnotationBasedPersistentProperty.java b/src/main/java/org/springframework/data/mapping/model/AnnotationBasedPersistentProperty.java index 9d7fd25f0..f5cc526f2 100644 --- a/src/main/java/org/springframework/data/mapping/model/AnnotationBasedPersistentProperty.java +++ b/src/main/java/org/springframework/data/mapping/model/AnnotationBasedPersistentProperty.java @@ -48,6 +48,8 @@ public abstract class AnnotationBasedPersistentProperty

, Annotation> annotationCache = new HashMap, Annotation>(); + private Boolean isTransient; + /** * Creates a new {@link AnnotationBasedPersistentProperty}. * @@ -122,8 +124,12 @@ public abstract class AnnotationBasedPersistentProperty