You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reorder methods and types. Rename MongoPersistentProperty.isOmitNullProperty to writeNullValues. Adapt caching MongoPersistentProperty and add tests.
Tweak Javadoc wording, add author and since tags.
See #3407
Original pull request: #3646.
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/convert/MappingMongoConverter.java
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/mapping/BasicMongoPersistentProperty.java
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/mapping/CachingMongoPersistentProperty.java
+15
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ public class CachingMongoPersistentProperty extends BasicMongoPersistentProperty
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/mapping/MongoPersistentProperty.java
Copy file name to clipboardExpand all lines: spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/mapping/UnwrappedMongoPersistentProperty.java
+5-9
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,11 @@ public int getFieldOrder() {
63
63
returndelegate.getFieldOrder();
64
64
}
65
65
66
+
@Override
67
+
publicbooleanwriteNullValues() {
68
+
returndelegate.writeNullValues();
69
+
}
70
+
66
71
@Override
67
72
publicbooleanisDbReference() {
68
73
returndelegate.isDbReference();
@@ -92,11 +97,6 @@ public boolean isExplicitLanguageProperty() {
92
97
publicbooleanisTextScoreProperty() {
93
98
returndelegate.isTextScoreProperty();
94
99
}
95
-
96
-
@Override
97
-
publicbooleanisOmitNullProperty() {
98
-
returndelegate.isOmitNullProperty();
99
-
}
100
100
101
101
@Override
102
102
@Nullable
@@ -321,8 +321,4 @@ public <T> PersistentPropertyAccessor<T> getAccessorForOwner(T owner) {
0 commit comments