We now no longer allocate a parameter binding position for parameters that are represented with IS NULL or IS NOT NULL to ensure consistent parameter binding position numbering without gaps.
Closes#4171
We now retain the input property ordering. Additionally, when providing input properties, we no longer limit properties to top-level properties but allow selection of nested properties.
Closes#4174
See: #3908
We now no longer discard input properties when using DTO projections.
Any given projections must match the constructor argument order when using property names that do not match the DTO projection properties.
Closes#4172
We now no longer apply an alias for property paths within the selection list unless required aliases when using tuple queries to materialize projections.
Also, we now add correctly the AS keyword between the selection and the alias to remain spec-compliant.
Closes#4167
This change makes sure to set the jakarta.persistence.schema-generation.database.action property to 'none' in order to prevent schema interaction during the repository code generation.
The property has precedence over a potentially configured hibernate.hbm2ddl.auto property and covers that use case as well.
Closes: #4130
Original pull request: #4159
We now use explicitly named selection items when selecting items from a projection selection to avoid name clashes through implicit naming.
Signed-off-by: oualid.bouh <oualid.bouh@kleegroup.com>
Closes#4135
Original pull request: #4136
All findAll methods now require a non null except one.
Changing it to non-null would have been a breaking change since the implemented interface defines the Specificaton as nullable.
Closes#4131
Original pull request #4132
Remove unnecessary comma after 'both' in the sentence structure
'both A and B'. The comma between 'both' and the first item is
grammatically incorrect.
Original pull request #4122
Signed-off-by: Byungju Ju <wnqudwnrlrl@naver.com>
The title for Example 11 was updated to include '@NativeQuery', as the code snippet
demonstrates QueryRewriter usage with both @Query and @NativeQuery. The title for
Example 7 was similarly adjusted to use '@NativeQuery'.
Original pull request: #4120
Signed-off-by: Yohan Park <88149844+yohan9569@users.noreply.github.com>
We now no longer wrap bound parameters with parenthesis as leaving parenthesis away is the spec-compliant approach that also works with EclipseLink and allows to remove the nasty empty-collection to null conversion.
See #4112
Enable EclipseLink integration tests for UserRepositoryTests. Disable tests that fail because of non-spec compliance, update test to pass structured query parsing.
Improve exception message for failures if the CriteriaBuilder does not support ILIKE.
Move tests to according test classes.
See #4112
Simplify AotQuery design, introduce isDerived() flag and NamedQuery (including isManaged flag) to improve encapsulation and simplify the flow.
See #4102
We now correctly obtain a list of entities to be deleted and remove those through EntityManager.remove(…). Previously, we've erroneously used executeUpdate(…) that is intended for string-based queries only.
Closes#4102