From c119ad8fc50161b3f37c17083590b090d66f039f Mon Sep 17 00:00:00 2001 From: Jens Schauder Date: Wed, 8 Jan 2025 09:26:47 +0100 Subject: [PATCH 1/2] qbe-documentation - Prepare branch --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index cdd68fe2d4..36d1f15170 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.springframework.data spring-data-commons - 3.5.0-SNAPSHOT + 3.5.0-qbe-documentation-SNAPSHOT Spring Data Core Core Spring concepts underpinning every Spring Data module. From 99be8a874ed2e14f82f801686f57bf8b3a450ce1 Mon Sep 17 00:00:00 2001 From: Jens Schauder Date: Wed, 8 Jan 2025 09:30:49 +0100 Subject: [PATCH 2/2] Refining QBE documentation. Adds a configurable limitation about collection support in Query By Example. Original pull request #1969 --- src/main/antora/modules/ROOT/pages/query-by-example.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/antora/modules/ROOT/pages/query-by-example.adoc b/src/main/antora/modules/ROOT/pages/query-by-example.adoc index f3f27cb8cd..45590079c2 100644 --- a/src/main/antora/modules/ROOT/pages/query-by-example.adoc +++ b/src/main/antora/modules/ROOT/pages/query-by-example.adoc @@ -1,3 +1,7 @@ +ifndef::support-qbe-collection[] +:support-qbe-collection: true +endif::[] + [[query-by-example]] = Query by Example @@ -36,6 +40,9 @@ Query by Example is well suited for several use cases: Query by Example also has several limitations: * No support for nested or grouped property constraints, such as `firstname = ?0 or (firstname = ?1 and lastname = ?2)`. +ifeval::[{support-qbe-collection} != true] +* No support for matching collections or maps. +endif::[] * Store-specific support on string matching. Depending on your databases, String matching can support starts/contains/ends/regex for strings. * Exact matching for other property types.