Mark Paluch
32afca168d
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
6 months ago
Mark Paluch
2bf3bb43e8
Fix entity name expansion templated native queries.
...
ExpressionBasedStringQuery now correctly expands the entityName placeholder again.
Closes #3979
6 months ago
Mark Paluch
aad1f7bf98
Refine version properties for documentation build.
...
See spring-projects/spring-data-build#2638
6 months ago
Mark Paluch
176ecff850
After release cleanups.
...
See #3949
6 months ago
Mark Paluch
18d0665135
Prepare next development iteration.
...
See #3949
6 months ago
Mark Paluch
eae94a4a33
Release version 3.5.3 (2025.0.3).
...
See #3949
6 months ago
Mark Paluch
7e3c8dad3c
Prepare 3.5.3 (2025.0.3).
...
See #3949
6 months ago
Mark Paluch
63b8cd5329
Polishing.
...
Refine antora documentation keys.
See #3952
6 months ago
Mark Paluch
77ceaf3eff
Upgrade to Hibernate 6.6.25.Final.
...
Closes #3973
6 months ago
Mark Paluch
c761f08959
Upgrade to Hibernate 6.6.24.Final.
...
Closes #3963
6 months ago
Now
593ea71a64
Fix typo in Jpa21Utils javadoc.
...
Signed-off-by: Now <khj990322@gmail.com>
Original pull request #3955
7 months ago
Jens Schauder
b04e8f86dd
Polishing.
...
Formatting.
Reduced scope of field to variable.
Original pull request #3954
7 months ago
shchae04
a5adaf3e6b
Fix typo in README
...
This pull request fixes a small typo in the README file:
- `datatabase` → `database`
It's a minor change, but helps improve the clarity and quality of the documentation.
Signed-off-by: shchae04 <94516539+shchae04@users.noreply.github.com>
Original pull request #3953
7 months ago
Mark Paluch
8bf33bae5a
After release cleanups.
...
See #3918
7 months ago
Mark Paluch
4acf655984
Prepare next development iteration.
...
See #3918
7 months ago
Mark Paluch
41b5829281
Release version 3.5.2 (2025.0.2).
...
See #3918
7 months ago
Mark Paluch
5753877048
Prepare 3.5.2 (2025.0.2).
...
See #3918
7 months ago
Mark Paluch
5c01c8fe9e
Upgrade to Maven Wrapper 3.9.11.
...
See #3946
7 months ago
Mark Paluch
d0fe590567
Polishing.
...
Hibernate 6.6.22-SNAPSHOT not available yet.
See #3937
7 months ago
Mark Paluch
5ad33927cd
Backport `Specification.unrestricted()` to `3.5.x`.
...
Introducing a replacement method for the deprecated `where(…)` method.
Closes #3942
7 months ago
Mark Paluch
0e39197e57
Upgrade to Hibernate 6.6.21.Final.
...
Closes #3937
7 months ago
Mark Paluch
672ab08d9b
Upgrade to Eclipselink 4.0.7.
...
Closes #3936
7 months ago
Mark Paluch
3784582f32
Polishing.
...
Inline methods, lazify query creation.
See #3920
7 months ago
Giheon Do
a4fe9c3881
Cache query strings in `SimpleJpaRepository`.
...
Cache the deleteAll and count query strings as final fields in SimpleJpaRepository.
This avoids repeated String.format operations and reduces unnecessary object creation
on every invocation of deleteAllInBatch() and count(). No functional changes.
Signed-off-by: Giheon Do <dgh0001@naver.com>
Closes #3920
7 months ago
Mark Paluch
f635de742c
Polishing.
...
Refine conditional flow.
See #3932
7 months ago
Giheon Do
f92b40cbc7
Replace regex with startsWith / endsWith check for LIKE pattern detection.
...
Signed-off-by: Giheon Do <dgh0001@naver.com>
Closes #3932
7 months ago
Mark Paluch
caa4704cd0
Exclude DTO types without custom construction from DTO constructor rewriting.
...
We now verify that we can actually express a valid constructor expression before rewriting queries to use constructor expressions.
See #3929
7 months ago
Mark Paluch
ab96acca26
Simplify build.
...
Remove additional Eclipselink build steps as we don't use these.
See #3892
8 months ago
Mark Paluch
2489e0118f
Fix `PersistenceProvider` lookup using proxied `EntityManagerFactory`.
...
We now distinguish between Spring-proxied and other JDK proxied EntityManagerFactory objects for proper unwrapping. Spring consistently uses a null value as class to get hold of the target object.
Both, Hibernate and EclipseLink fail with a NullPointerException when calling unwrap(null) and therefore, we call all other JDK proxies with unwrap(EntityManagerFactory.class) to adhere to the JPA specification and avoid failures according to the implementations.
Any other proxying mechanism that behaves differently will require additional refinement once such a case comes up.
Closes #3923
8 months ago
Mark Paluch
faa526f823
Polishing.
...
Refine readme.
See #3892
8 months ago
Mark Paluch
961d825fd8
After release cleanups.
...
See #3891
8 months ago
Mark Paluch
f3c93ef65a
Prepare next development iteration.
...
See #3891
8 months ago
Mark Paluch
bb662ae6a4
Release version 3.5.1 (2025.0.1).
...
See #3891
8 months ago
Mark Paluch
01a2c72e2f
Prepare 3.5.1 (2025.0.1).
...
See #3891
8 months ago
Mark Paluch
261d693d8b
Polishing.
...
Simplify regex.
See #3911
8 months ago
hoyeon Jang
b7b9db5a74
Fix typos in query-methods.adoc.
...
Signed-off-by: hoyeon Jang <hoyeonj981@gmail.com>
Closes #3912
8 months ago
Mark Paluch
a54ad17fec
Upgrade to PGJDBC Driver 42.7.7.
...
Closes #3914
8 months ago
Mark Paluch
72f662793e
Polishing.
...
Remove type parameter to enable usage with Hibernate 6.2.
See: #3425
Original pull request: #3885
8 months ago
Mark Paluch
c260c21301
Fix `QueryUtils` regex parsing field and function aliases.
...
Remove leading space requirement, simplify group nesting and replace character class with non-capturing group to avoid a, s and | (pipe) matching.
Closes #3911
8 months ago
Mark Paluch
5bd94409dc
Polishing.
...
Revise PersistenceProvider detection to a EntityManagerFactory-based variant, considering EntityManagerFactory proxying.
See: #3425
Original pull request: #3885
8 months ago
Mark Paluch
c8221aa7c1
Prevent access to `EntityManager` when looking up `PersistenceProvider`.
...
Signed-off-by: Ariel Morelli Andres <amorelliandres@atlassian.com>
Closes : #3425
Original pull request: #3885
8 months ago
Mark Paluch
71ef3215d7
Upgrade to Hibernate 6.6.17.Final.
...
Closes #3909
8 months ago
Mark Paluch
4838fa104e
Polishing.
...
Move warning suppression to the class-level.
See #3901
8 months ago
Aref
15e40966ba
Suppress warnings in tests.
...
Signed-off-by: Aref <aref.behboudi@veltiston.ai>
Closes : #3901
8 months ago
Mark Paluch
053a4620a0
Consider only top-level properties for tuple query selection.
...
We now only consider top-level properties for tuple query selection to avoid join products caused by selecting nested relationships.
Closes #3908
8 months ago
Mark Paluch
5a22fbf467
Refine DTO projection rewriting.
...
We now consider dropping aliases (count(foo) as foo), support subselects and capture individual select items to avoid contextual information loss.
Also, added a series of tests to cover edgecases.
See #3895
8 months ago
Mark Paluch
61a1a8c2c9
Fix potential class-cast exception.
...
See #3895
8 months ago
Mark Paluch
64d5e70e38
Do not consider JPA-managed types projections.
...
We now back off from rewriting queries to constructor expressions if a returned type is a JPA-managed one.
See #3895
8 months ago
Mark Paluch
c538a4fcb4
Refrain from rewriting queries without input properties.
...
We now no longer attempt to rewrite the query if the target type doesn't define input properties (no-args constructor or multiple constructors).
Closes #3895
8 months ago
Mark Paluch
fa9b6815ce
Avoid capturing `?&` and `?|` as bind parameter markers.
...
We now exclude `?&` and `?|` from being matched as JDBC-style parameter bind marker.
Closes #3907
8 months ago