Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
* @author Diego Krupitza
* @author Greg Turnquist
* @author Christoph Strobl
* @author Mohammad Javad Imani
*/
abstract class AbstractStringBasedJpaQuery extends AbstractJpaQuery {

Expand Down Expand Up @@ -95,9 +96,7 @@ public AbstractStringBasedJpaQuery(JpaQueryMethod method, EntityManager em, Stri
return query.deriveCountQuery(method.getCountQueryProjection());
});

this.countParameterBinder = Lazy.of(() -> {
return this.createBinder(this.countQuery.get());
});
this.countParameterBinder = Lazy.of(() -> this.createBinder(this.countQuery.get()));

this.parser = parser;
this.queryRewriter = queryRewriter;
Expand Down