From a3a3e2246ac114d69a4aadbabb07aa6f74c9752c Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Wed, 5 Mar 2025 11:22:12 +0100 Subject: [PATCH] Refine Querydsl documentation. See #4894 --- .../modules/ROOT/pages/repositories/core-extensions.adoc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/antora/modules/ROOT/pages/repositories/core-extensions.adoc b/src/main/antora/modules/ROOT/pages/repositories/core-extensions.adoc index 6a3cc11e5..3bc764815 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/core-extensions.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/core-extensions.adoc @@ -22,7 +22,7 @@ It provides the following features: * Adapts better to refactoring changes in domain types. * Incremental query definition is easier. -See the http://www.querydsl.com/static/querydsl/latest/reference/html/[QueryDSL documentation] for how to bootstrap your environment for APT-based code generation using Maven or Ant. +See the http://www.querydsl.com/static/querydsl/latest/reference/html/[Querydsl documentation] for how to bootstrap your environment for APT-based code generation using Maven or Ant. QueryDSL lets you write queries such as the following: @@ -50,7 +50,7 @@ Flux result = repository.findAll(person.address.zipCode.eq("C0123")); ====== `QPerson` is a class that is generated by the Java annotation processor. -See xref:#mongodb.repositories.queries.type-safe.apt[Setting up Annotation Processing] for how to setup Annotation Processing with your Build System. +See xref:#mongodb.repositories.queries.type-safe.apt[Setting up Annotation Processing] for how to set up Annotation Processing with your Build System. It is a `Predicate` that lets you write type-safe queries. Notice that there are no strings in the query other than the `C0123` value. @@ -160,6 +160,11 @@ Maven:: [source,xml,indent=0,subs="verbatim,quotes",role="primary"] ---- + + org.springframework.data + spring-data-mongodb + + com.querydsl querydsl-mongodb