From 513140d89eb9b65c46a760238a64849f48fc4c13 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Tue, 28 Jul 2020 15:28:24 +0200 Subject: [PATCH] DATACMNS-1777 - Polishing. Add note about GraalVM when using TypedSort. Original pull request: #461. --- src/main/asciidoc/repositories.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/asciidoc/repositories.adoc b/src/main/asciidoc/repositories.adoc index c55852418..bafc81f84 100644 --- a/src/main/asciidoc/repositories.adoc +++ b/src/main/asciidoc/repositories.adoc @@ -453,6 +453,8 @@ Sort sort = person.by(Person::getFirstname).ascending() ---- ==== +NOTE: `TypedSort.by(…)` makes use of runtime proxies by typically using CGlib which may interfere with native image compilation when using tools like Graal VM Native. + If your store implementation supports Querydsl, you can also use the metamodel types generated to define sort expressions: .Defining sort expressions using the Querydsl API