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
We now properly consider results of GROUP BY count queries returning potentially multiple rows, a count for each group instead of enforcing a single result item.
Closes#4096