Mark Paluch
f5ad0e1d02
Extend license header copyright years to 2024.
...
See #3288
2024-01-02 09:23:47 +01:00
Mark Paluch
5d1eba21e4
Introduce property for Jenkins user and Artifactory server details.
...
Closes #3240
2023-11-24 10:23:41 +01:00
Mark Paluch
587573c088
After release cleanups.
...
See #3195
2023-11-17 11:00:17 +01:00
Mark Paluch
424e463fcc
Prepare next development iteration.
...
See #3195
2023-11-17 11:00:15 +01:00
Mark Paluch
86254b1388
Release version 3.0.12 (2022.0.12).
...
See #3195
2023-11-17 10:57:13 +01:00
Mark Paluch
1d2361338a
Prepare 3.0.12 (2022.0.12).
...
See #3195
2023-11-17 10:56:59 +01:00
Jens Schauder
9a51eca1ed
Improved documentation of deleteAllInBatch.
...
Closes #3198
2023-10-17 12:49:31 +02:00
Mark Paluch
9fb57c97fb
After release cleanups.
...
See #3162
2023-10-13 11:44:29 +02:00
Mark Paluch
54479d9ef6
Prepare next development iteration.
...
See #3162
2023-10-13 11:44:27 +02:00
Mark Paluch
099b94a151
Release version 3.0.11 (2022.0.11).
...
See #3162
2023-10-13 11:41:40 +02:00
Mark Paluch
19f0ef42a8
Prepare 3.0.11 (2022.0.11).
...
See #3162
2023-10-13 11:41:27 +02:00
John Blum
334a8bb2ed
Upgrade to Maven Wrapper 3.9.5.
...
See #3184
2023-10-04 18:24:13 -07:00
John Blum
ea32754df7
Update CI properties.
...
See #3162
2023-10-04 17:47:33 -07:00
Mark Paluch
36b52e1485
Polishing.
...
Reformat code, add ticket references to test methods.
See #3137
Original Pull Request: #3173
2023-09-27 11:00:23 +02:00
Julia
0a5ac69784
Restrict TypedParameterValue usage to native queries only.
...
Use Hibernate parameter accessor for native queries only to avoid affecting JPQL queries.
Co-locate Hibernate-specific parameters accessor as the same package as JPA parameters accessor.
Remove Parameter Accessor reference from Persistence Provider since it's created in AbstractJpaQuery.
Closes #3137
Original Pull Request: #3173
2023-09-27 10:55:45 +02:00
Mark Paluch
5eb9c30231
After release cleanups.
...
See #3117
2023-09-15 10:20:51 +02:00
Mark Paluch
5f7c9b4d8b
Prepare next development iteration.
...
See #3117
2023-09-15 10:20:49 +02:00
Mark Paluch
4ca11de9b7
Release version 3.0.10 (2022.0.10).
...
See #3117
2023-09-15 10:17:45 +02:00
Mark Paluch
bce5bfa8a0
Prepare 3.0.10 (2022.0.10).
...
See #3117
2023-09-15 10:17:30 +02:00
Greg L. Turnquist
2219952336
Fetch HQL from Hibernate using a different API.
...
See #3085
2023-09-12 11:19:23 -05:00
Greg L. Turnquist
b11fae8ff1
Polishing.
...
See #3120
2023-09-12 10:07:26 -05:00
jeomxon
4a46dbef03
Rename em as entityManager in SimpleJpaRepository.
...
See #3120
2023-09-08 11:55:48 -05:00
Mark Paluch
0559c38c9c
Correctly validate mixed parameter bind marker usage.
...
We now inspect individual parameters instead of the resulting query whether the query contains JDBC-style bind markers. Previously, we inspected the final (rewritten) query which might have contained question marks in literals leading to improper validation failures.
Closes #3125
2023-08-25 09:31:30 +02:00
Mark Paluch
a9279c729d
Register individual bindings for IN bindings if parameter is already bound differently.
...
We now register a new parameter binding if the named/positional parameter is already bound in an incompatible style.
Closes #3126
2023-08-25 09:17:00 +02:00
Mark Paluch
50de4d7598
After release cleanups.
...
See #3070
2023-08-18 10:46:30 +02:00
Mark Paluch
dd59de6350
Prepare next development iteration.
...
See #3070
2023-08-18 10:46:28 +02:00
Mark Paluch
b40a45f022
Release version 3.0.9 (2022.0.9).
...
See #3070
2023-08-18 10:43:12 +02:00
Mark Paluch
692b750d33
Prepare 3.0.9 (2022.0.9).
...
See #3070
2023-08-18 10:42:55 +02:00
Julia Lee
cd0f9feb96
Update CI properties.
...
See #3070
2023-08-14 10:18:38 -04:00
Julia Lee
3fc53b81d5
Upgrade to Maven Wrapper 3.9.4.
...
See #3112
2023-08-14 07:45:42 -04:00
Sergey Rukin
9bb406a5c9
Add 'since' headers to Specification javadocs.
...
See #3102 , #3089
2023-08-04 14:49:15 -05:00
Greg L. Turnquist
70d9beacb3
Verify that mismatched return types are caught.
...
Verify that when a return type doesn't match the query's type, an exception is thrown.
See #1184
2023-07-26 16:52:08 -05:00
Greg L. Turnquist
aeb1323692
Upgrade to EclipseLink 4.0.2.
...
See #2900
2023-07-25 15:51:16 -05:00
Greg L. Turnquist
14c1f7113d
Polishing.
...
See #3041
2023-07-21 14:38:31 -05:00
Mark Paluch
a721243a0b
Ensure correct bindings for parameter reuse.
...
We now verify all bindings to ensure that a like-parameter doesn't mix up with plain bindings (e.g. firstname = %:myparam or lastname = :myparam). We also create unique synthetic parameters for positional bindings.
Also, fix Regex to properly detect named, anonymous and positional bind markers.
See #3041
2023-07-21 14:29:36 -05:00
Mark Paluch
a4916d5529
Revise String Query ParameterBinding.
...
We now distinguish between the binding parameter target and its origin. The parameter target represents how the binding is bound to the query, the origin points to where the binding parameter comes from (method invocation argument or an expression).
The revised design removes the assumption that binding parameters must match their indices/names of the method call to introduce synthetic parameters for different binding variants while using the same underlying invocation parameters.
See #3041
2023-07-21 14:27:43 -05:00
Mark Paluch
c5950e3f42
Use unique named parameter bindings for like parameters.
...
We now replace LIKE expressions according to their type with individual bindings if an existing binding cannot be used because of how the bound value is being transformed.
WHERE foo like %:name or bar like :name becomes
WHERE foo like :name (i.e. '%' + :name) or bar like :name_1 (i.e. :name)
See #3041
2023-07-21 14:24:46 -05:00
Greg L. Turnquist
7aadb145e0
Polishing.
2023-07-21 14:20:25 -05:00
Mark Paluch
4702df5bdd
After release cleanups.
...
See #3032
2023-07-14 11:25:32 +02:00
Mark Paluch
d1e770b84f
Prepare next development iteration.
...
See #3032
2023-07-14 11:25:30 +02:00
Mark Paluch
7fbd974eed
Release version 3.0.8 (2022.0.8).
...
See #3032
2023-07-14 11:22:38 +02:00
Mark Paluch
79757db34e
Prepare 3.0.8 (2022.0.8).
...
See #3032
2023-07-14 11:22:22 +02:00
Mark Paluch
039462d2e1
Update CI properties.
...
See #3032
2023-07-03 09:47:05 +02:00
Mark Paluch
90779c527e
Upgrade to Maven Wrapper 3.9.3.
...
See #3047
2023-07-03 09:46:25 +02:00
Mark Paluch
b3701a4028
Reuse parsed SQL statement for alias and projection detection.
...
Closes #3039
2023-06-26 09:38:59 +02:00
Mark Paluch
605e532ea6
Backoff JSqlParserQueryEnhancer if query type is not a supported query type.
...
We now backoff from enhancing queries if the query type is not supported (e.g. TRUNCATE).
Closes #3038
2023-06-26 09:38:59 +02:00
Mark Paluch
fee5cf0332
After release cleanups.
...
See #2948
2023-06-16 15:43:10 +02:00
Mark Paluch
0d06c67fc2
Prepare next development iteration.
...
See #2948
2023-06-16 15:43:08 +02:00
Mark Paluch
6a91748c25
Release version 3.0.7 (2022.0.7).
...
See #2948
2023-06-16 15:39:45 +02:00
Mark Paluch
04b3403b9e
Prepare 3.0.7 (2022.0.7).
...
See #2948
2023-06-16 15:39:29 +02:00