Skip to content

Commit e4fe9e2

Browse files
committed
Polishing.
Update documentation for AOT support. See #3977
1 parent db92dc0 commit e4fe9e2

File tree

1 file changed

+4
-5
lines changed
  • src/main/antora/modules/ROOT/pages/jpa

1 file changed

+4
-5
lines changed

src/main/antora/modules/ROOT/pages/jpa/aot.adoc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,18 +72,18 @@ These are typically all query methods that are not backed by an xref:repositorie
7272
**Supported Features**
7373

7474
* Derived query methods, `@Query`/`@NativeQuery` and named query methods
75+
* Stored procedure query methods annotated with `@Procedure`
7576
* `@Modifying` methods returning `void` or `int`
7677
* `@QueryHints` support
7778
* Pagination, `Slice`, `Stream`, and `Optional` return types
7879
* Sort query rewriting
79-
* DTO Projections
80+
* Interface and DTO Projections
8081
* Value Expressions (Those require a bit of reflective information.
8182
Mind that using Value Expressions requires expression parsing and contextual information to evaluate the expression)
8283

8384
**Limitations**
8485

8586
* Requires Hibernate for AOT processing.
86-
* Configuration of `escapeCharacter` and `queryEnhancerSelector` are not yet considered
8787
* `QueryRewriter` must be a no-args class. `QueryRewriter` beans are not yet supported.
8888
* Methods accepting `ScrollPosition` (e.g. `Keyset` pagination) are not yet supported
8989

@@ -92,7 +92,6 @@ Mind that using Value Expressions requires expression parsing and contextual inf
9292
* `CrudRepository`, Querydsl, Query by Example, and other base interface methods as their implementation is provided by the base class respective fragments
9393
* Methods whose implementation would be overly complex
9494
** Methods accepting `ScrollPosition` (e.g. `Keyset` pagination)
95-
** Stored procedure query methods annotated with `@Procedure`
9695
** Dynamic projections
9796

9897
[[aot.repositories.json]]
@@ -113,7 +112,7 @@ interface UserRepository extends CrudRepository<User, Integer> {
113112
Page<User> findPageOfUsersByLastnameStartingWith(String lastname, Pageable page); <2>
114113
115114
@Query("select u from User u where u.emailAddress = ?1")
116-
User findAnnotatedQueryByEmailAddress(String username); <3>
115+
User findAnnotatedQueryByEmailAddress(String emailAddress); <3>
117116
118117
User findByEmailAddress(String emailAddress); <4>
119118
@@ -134,7 +133,7 @@ While stored procedure methods are included in JSON metadata, their method code
134133
----
135134
{
136135
"name": "com.acme.UserRepository",
137-
"module": "",
136+
"module": "JPA",
138137
"type": "IMPERATIVE",
139138
"methods": [
140139
{

0 commit comments

Comments
 (0)