DATAMONGO-199 - Fixed bug in CachingMongoPersistentProperty.

This commit is contained in:
Oliver Gierke
2011-12-06 14:48:25 +01:00
parent c88b6d89db
commit 7da0fcdd0c

View File

@@ -53,7 +53,7 @@ public class CachingMongoPersistentProperty extends BasicMongoPersistentProperty
if (this.isIdProperty == null) {
this.isIdProperty = super.isIdProperty();
}
return this.isIdProperty;
}
@@ -67,7 +67,7 @@ public class CachingMongoPersistentProperty extends BasicMongoPersistentProperty
if (this.fieldName == null) {
this.fieldName = super.getFieldName();
}
return super.getFieldName();
return this.fieldName;
}
}