Skip to content

SpringDataMongodbQuery should be public [DATAMONGO-1514] #2425

Closed
@spring-projects-issues

Description

@spring-projects-issues

Dreampie opened DATAMONGO-1514 and commented

I need excute something before repository query db, but I can't build a query for current repository

QuerydslRepositorySupport support = new QuerydslRepositorySupport(mongoTemplate) {};
SpringDataMongodbQuery sdmq = support.from(SimpleEntityPathResolver.INSTANCE.createPath(eInfo.getJavaType()))
        .where(booleanBuilder), countPageRequest, eInfo.getJavaType();

SpringDataMongodbQuery is not public, and from method is protected


Backported to: 1.9.5 (Hopper SR5), 1.8.7 (Gosling SR7)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions