Skip to content

Commit

Permalink
MongoTemplate doFind for ad-hoc query method visibility as protected.
Browse files Browse the repository at this point in the history
  • Loading branch information
aleixmorgadas committed Sep 12, 2023
1 parent 11b992c commit 9a8bf8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2606,7 +2606,7 @@ protected <S, T> List<T> doFind(String collectionName,
*
* @since 2.0
*/
<S, T> List<T> doFind(CollectionPreparer<MongoCollection<Document>> collectionPreparer, String collectionName,
protected <S, T> List<T> doFind(CollectionPreparer<MongoCollection<Document>> collectionPreparer, String collectionName,
Document query, Document fields, Class<S> sourceClass, Class<T> targetClass, CursorPreparer preparer) {

MongoPersistentEntity<?> entity = mappingContext.getPersistentEntity(sourceClass);
Expand Down

0 comments on commit 9a8bf8f

Please sign in to comment.