@@ -158,8 +158,7 @@ default E getRequiredPersistentEntity(P persistentProperty) throws MappingExcept
158
158
*
159
159
* @param propertyPath must not be {@literal null}.
160
160
* @return the {@link PersistentPropertyPath} representing the given {@link PropertyPath}.
161
- * @throws InvalidPersistentPropertyPath in case not all of the segments of the given {@link PropertyPath} can be
162
- * resolved.
161
+ * @throws InvalidPersistentPropertyPath in case not all segments of the given {@link PropertyPath} can be resolved.
163
162
*/
164
163
PersistentPropertyPath <P > getPersistentPropertyPath (PropertyPath propertyPath ) throws InvalidPersistentPropertyPath ;
165
164
@@ -169,16 +168,27 @@ default E getRequiredPersistentEntity(P persistentProperty) throws MappingExcept
169
168
* @param propertyPath must not be {@literal null}.
170
169
* @param type must not be {@literal null}.
171
170
* @return the {@link PersistentPropertyPath} representing the given property path on the given type.
172
- * @throws InvalidPersistentPropertyPath in case not all of the segments of the given property path can be resolved.
171
+ * @throws InvalidPersistentPropertyPath in case not all segments of the given property path can be resolved.
173
172
*/
174
173
PersistentPropertyPath <P > getPersistentPropertyPath (String propertyPath , Class <?> type )
175
174
throws InvalidPersistentPropertyPath ;
176
175
176
+ /**
177
+ * Returns all {@link PersistentProperty}s for the given dot path notation based on the given type.
178
+ *
179
+ * @param propertyPath must not be {@literal null}.
180
+ * @param type must not be {@literal null}.
181
+ * @return the {@link PersistentPropertyPath} representing the given property path on the given type.
182
+ * @throws InvalidPersistentPropertyPath in case not all segments of the given property path can be resolved.
183
+ * @since 3.2.1
184
+ */
185
+ PersistentPropertyPath <P > getPersistentPropertyPath (String propertyPath , TypeInformation <?> type )
186
+ throws InvalidPersistentPropertyPath ;
187
+
177
188
/**
178
189
* Returns all {@link PersistentPropertyPath}s pointing to properties on the given type that match the given
179
190
* {@link Predicate}. In case of circular references the detection will stop at the property that references a type
180
- * that's already included in the path. Note, that is is a potentially expensive operation as results cannot be
181
- * cached.
191
+ * that's already included in the path. Note, that is a potentially expensive operation as results cannot be cached.
182
192
*
183
193
* @param type must not be {@literal null}.
184
194
* @param predicate must not be {@literal null}.
0 commit comments