Archana Iyer
Archana Iyer
#### Description: A repository method annotated with @Query whose value contains an ORDER BY clause (or query language equivalent) must not also provide sort criteria via other mechanisms (e.g., Sort...
#### Description: A Jakarta Data provider might define a custom entity-defining annotation. Custom entity-defining annotations must be marked with @EntityDefining. This allows other Jakarta Data providers and tools to recognize...
#### Diagnostic messages: 1. The abs() function requires a numeric argument. Non‑numeric arguments are invalid. 2. The length() function requires a String argument and returns an Integer. 3. The lower()...
#### Diagnostic Messages: - Enum literal expressions may only appear as the right operand of a set assignment or equality comparison. - The left operand must be a Java enum...
#### Description: A query must use either positional parameters (?1, ?2, …) or named parameters (:name, :price, …). Mixing positional and named parameters in the same query is invalid. ####...
#### Description: The characters Space, Horizontal Tab, Line Feed, Form Feed, and Carriage Return are considered whitespace characters and make no contribution to the token stream. As usual, token recognition...
#### Description: Repository methods must not declare invalid combinations of special parameters (multiple PageRequest/Limit, PageRequest+Limit, PageRequest/Limit with First, multiple Order). A repository method must throw UnsupportedOperationException if it has: -...
#### Description: A PageRequest parameter must be declared in the repository method signature when: - The method returns a Page (offset‑based pagination). - The method returns a CursoredPage (cursor‑based pagination)....
#### Description: Annotations like @Find, @Query, @Insert, @Update, @Delete, and @Save are mutually-exclusive. A given method of a repository interface may have at most one: - @Find annotation, - lifecycle...
#### Description: - The signature of a repository method annotated @Delete must be used to disambiguate the interpretation of the @Delete annotation. - A repository method annotated with @Delete may...