Mark Paluch
a15ebdbcba
Polishing.
...
Refine error message format. Consistently use QueryCreationException.
See #2736
Original pull request: #2738
4 months ago
Oliver Drotbohm
cff0724afe
Improve query method validation exceptions for declared queries.
...
When validating manually declared queries on repositories, the exception that captures the query to validate now actually also reports it in the exception message.
Closes : #2736 .
Original pull request: #2738
4 months ago
Tran Ngoc Nhan
fc6f18a901
Remove unused imports.
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
Closes #3968
4 months ago
Mark Paluch
9e135f0aaf
Polishing.
...
Reformat code and reorder author tags.
See #4025
4 months ago
KNU-K
1334008018
Replace recursion in `QueryRenderer.isSubquery(…)` with loop.
...
Signed-off-by: KNU-K <knukang334@gmail.com>
Closes #4025
4 months ago
Mark Paluch
73a16326b6
Update CI Properties.
...
See #4011
4 months ago
Mark Paluch
4010a93a0b
Polishing.
...
Refine Javadoc.
See #4023
Original pull request: #4024
4 months ago
Peter Aisher
ee039fe094
Constistent `unrestricted()` behaviour for all `*Specification` types.
...
Closes #4023
Original pull request: #4024
Signed-off-by: Peter Aisher <peter.aisher@gmail.com>
4 months ago
Mark Paluch
a5b5c2e610
Adapt to AOT Infrastructure changes in Commons.
...
See spring-projects/spring-data-commons#3267
4 months ago
Mark Paluch
03e986243c
Update GitHub Actions.
...
See #4011
5 months ago
Mark Paluch
b8ebcf9ded
Document placeholder and Ant-style pattern support for `@Enable…Repositories`
...
Closes spring-projects/spring-data-commons#3366
5 months ago
Mark Paluch
f0345f5ce6
Polishing.
...
Add missing Override annotations.
See #3999
Original pull request #4000
5 months ago
Mark Paluch
10c80247f8
Fix unpaged revision query.
...
We now return all results for an unpaged query.
Closes #3999
Original pull request #4000
5 months ago
Mark Paluch
2dacd711ab
Upgrade to Hibernate 7.1.1.Final.
...
Closes #4016
5 months ago
Mark Paluch
8b4d601886
Add `TypeCollectorFilters` to filter `$$_hibernate` fields and methods.
...
Closes #4014
5 months ago
Mark Paluch
811266f71c
Polishing.
...
Align assignability check for modifying execution.
See #4015
5 months ago
Mark Paluch
9f403908a4
Fix method return for delete execution returning primitive numbers.
...
We now properly check for assignability of numeric values considering primitive types.
Closes #4015
5 months ago
Mark Paluch
aa900658b3
Polishing.
...
Introduce EnversRevisionEntityInformation to reflect envers-specific revision information. Refactor DefaultRevisionEntityInformation to enum to keep a singleton around. Refine tests.
See #2850
Original pull request: #4003
5 months ago
ChaedongIm
8c3a0679bd
Allow customization of `@RevisionTimestamp` property name.
...
We now detect the property name annotated with RevisionTimestamp to determine the property name from the model instead of assuming a hard-coded timestamp property.
Signed-off-by: ChaedongIm <chaedong.im.dev@gmail.com>
See #2850
Original pull request: #4003
5 months ago
Mark Paluch
18db5faf26
Refine HQL rendering of CTE with SEARCH clause.
...
Add tests for CYCLE, ensure no space between search order items.
Closes #4012
5 months ago
Mark Paluch
bc234f0406
Fix nested EQL and JPQL aggregation function argument grammar.
...
We now accept a wider range of function arguments instead of limiting to property paths.
Closes #4013
5 months ago
Christoph Strobl
c3187fb57f
After release cleanups.
...
See #3977
5 months ago
Christoph Strobl
243ffd70e0
Prepare next development iteration.
...
See #3977
5 months ago
Christoph Strobl
a38893577b
Release version 4.0 M6 (2025.1.0).
...
See #3977
5 months ago
Christoph Strobl
b379b83207
Prepare 4.0 M6 (2025.1.0).
...
See #3977
5 months ago
Mark Paluch
6a26a73cdd
Refine JavaPoet usage.
...
See #4007
5 months ago
Christoph Strobl
de7c568455
Follow changes in data-commons AOT support.
...
Closes : #4007
5 months ago
Mark Paluch
d881e87f70
Upgrade to Eclipselink 5.0.0-B10.
...
Closes #4006
5 months ago
Mark Paluch
72dd53ac88
Return deleted entity from derived deleteBy method.
...
We now return the deleted entity and check, guard the delete query against batch deletes if the delete yields more than done result.
Closes #3995
5 months ago
Mark Paluch
9025ca3882
Skip fenced comments in HQL, EQL and JPQL parsers.
...
Align with Hibernate and allow comments also in EQL and JPQL.
Closes #3997
5 months ago
Mark Paluch
f50d3567fe
Polishing.
...
Reinstate original Javadoc, add note about nullability.
Fix contract annotation, refine tests.
See #3992
Original pull request: #3998
5 months ago
희은
a1fbb5a4d2
Reintroduce `Specification.where(Specification)`
...
Reintroduce the overload to improve the migration path for users upgrading to Spring Data JPA 4.0 and to restore the intuitive fluent API but this time, the method does not accept null values.
Closes #3992
Original pull request: #3998
Signed-off-by: 희은 <datakubit2@gmail.com>
5 months ago
Mark Paluch
8ffc585d1f
Polishing.
...
Use refined convenience methods from AotQueryMethodGenerationContext.
See #3991
5 months ago
Mark Paluch
48bc6aa692
Polishing.
...
Add integration tests.
See #3990
Original pull request: #3993
5 months ago
Minho Park
d73a925651
Qualify identifier used in `SimpleJpaRepository.deleteAllByIdInBatch(…)` JPQL.
...
Signed-off-by: Minho Park <g_a_m_e_@naver.com>
Closes #3990
Original pull request: #3993
5 months ago
Mark Paluch
6bf3610633
Refine AOT fragment constructor parameter lookup.
...
Closes #3991
5 months ago
Mark Paluch
f13eaf5ec4
Add missing nullability type constraints to `findBy` methods.
...
Closes #3986
5 months ago
Mark Paluch
71f15d8ec9
Reinstate parameter per entity for batch deletes using EclipseLink.
...
EclipseLink doesn't support WHERE e IN (:entities) and requires e = ?1 OR e = ?2 OR … style.
Closes #3983
5 months ago
Mark Paluch
64c5743c95
Add tests to verify entityName resolution in templated native query methods.
...
Closes #3979
5 months ago
Mark Paluch
e4fe9e22e7
Polishing.
...
Update documentation for AOT support.
See #3977
6 months ago
Mark Paluch
db92dc0b41
Refine version properties for documentation build.
...
See spring-projects/spring-data-build#2638
6 months ago
Mark Paluch
5ed83deb11
After release cleanups.
...
See #3952
6 months ago
Mark Paluch
ab07a5c363
Prepare next development iteration.
...
See #3952
6 months ago
Mark Paluch
a90271b8b7
Release version 4.0 M5 (2025.1.0).
...
See #3952
6 months ago
Mark Paluch
6e0ed025ff
Prepare 4.0 M5 (2025.1.0).
...
See #3952
6 months ago
Mark Paluch
66669fa3dc
Polishing.
...
Refine antora documentation keys.
See #3952
6 months ago
Mark Paluch
1e4967584f
Polishing.
...
Introduce ExpressionFactory to reduce code duplications. Unify JpqlUtils and QueryUtils expression creation to reduce code duplications. Add Eclipselink tests.
Many thanks to @academey for design ideas.
See #3349
Original pull request: #3922
See also: #3970
6 months ago
Jakub Soltys
054b7f4a88
Remove unnecessary join when filtering on relationship id.
...
We now no longer create a join for query property paths that point to an identifier of referenced entities to optimize query creation.
Closes #3349
Original pull request: #3922
See also: #3970
Signed-off-by: Jakub Soltys <jsodpad@gmail.com>
6 months ago
Mark Paluch
1f4cec8629
Polishing.
...
Fix nullability arrangements.
See #3974
6 months ago
Mark Paluch
28933e4a4c
Add missing `@Nullable` annotations to `JpaSpecificationExecutor.findBy(…)`.
...
Closes #3974
6 months ago