Commit Graph

2238 Commits

Author SHA1 Message Date
mipo256
4e465972fb Remove DbActionExecutionException.
We now raise the exceptions from `NamedParameterJdbcTemplate` directly.

If you used to extract the `cause` of a `DbActionExecutionException` you should now catch that Exception directly.

Original pull request #1956
Closes #831

Signed-off-by: mipo256 <mikhailpolivakha@gmail.com>
2025-05-16 12:23:05 +02:00
Mark Paluch
54536255b0 Refine generic boundaries.
Kotlin reacts to JSpecify with increased nullability requirements.

See #1980
2025-05-16 12:23:05 +02:00
Christoph Strobl
6b291583d7 After release cleanups.
See #1943
2025-05-16 12:23:05 +02:00
Christoph Strobl
806f807806 Prepare next development iteration.
See #1943
2025-05-16 12:23:05 +02:00
Christoph Strobl
a1b42d019b Release version 4.0 M1 (2025.1.0).
See #1943
2025-05-16 12:23:04 +02:00
Christoph Strobl
b7426f6bd3 Prepare 4.0 M1 (2025.1.0).
See #1943
2025-05-16 12:23:04 +02:00
Mark Paluch
8d9a87a06a Adopt to deprecation removals in Commons.
See #1944
2025-05-16 12:23:04 +02:00
Mark Paluch
996c851400 Polishing.
Fix invalid Javadoc references.

See #1944
2025-05-16 12:23:04 +02:00
Mark Paluch
8d8f349a4f Adopt to deprecation removals in Commons.
Closes #1944
2025-05-16 12:23:04 +02:00
Mark Paluch
27b0efc3f6 After release cleanups.
See #2042
2025-05-16 12:20:32 +02:00
Mark Paluch
8bb66d7c0c Prepare next development iteration.
See #2042
2025-05-16 11:31:15 +02:00
Mark Paluch
fb390ff9e4 Release version 3.5 GA (2025.0.0).
See #2042
2025-05-16 11:28:31 +02:00
Mark Paluch
3f802a4b5e Prepare 3.5 GA (2025.0.0).
See #2042
2025-05-16 11:28:11 +02:00
Mark Paluch
811efbacf3 Polishing.
Remove unneeded private getEntityInformation(…) method.

See #2053
2025-05-13 14:09:19 +02:00
Mark Paluch
231728e516 Update CI Properties.
See #2042
2025-05-12 09:33:06 +02:00
Mark Paluch
31b03a9ed4 Upgrade to Oracle OJDBC 23.8.0.25.04.
Closes #2052
2025-05-12 09:28:40 +02:00
Mark Paluch
b23be3d19d Update CI Properties.
See #2042
2025-05-12 09:00:23 +02:00
Mark Paluch
0f0088da2f Update CI Properties.
See #2042
2025-05-12 08:56:23 +02:00
Mark Paluch
20fa8f5d10 Update CI Properties.
See #2042
2025-05-12 08:55:55 +02:00
Jens Schauder
94958f5eb6 Polishing.
Code style and formatting.

Original pull request #2036
See #2031
2025-05-08 12:09:04 +02:00
Mark Paluch
becc753e2f Polishing.
Deprecate original DialectResolver and JdbcArrayColumns as they've been in the wrong package and introduce replacements in the dialect package. Let deprecated types extend from their replacements to retain compatibility.

Make instance holders final, fix Javadoc typos, update reference docs.

Original pull request #2036
See #2031
2025-05-08 12:09:04 +02:00
mipo256
7698d487ba Introduced new JDBC dialect counterparts.
Signed-off-by: mipo256 <mikhailpolivakha@gmail.com>

Commit message edited by Jens Schauder

Original pull request #2036
Closes #2031
2025-05-08 12:08:36 +02:00
Mikhail Fedorov
58a3f01ccd Fix performance bug with large number of unnamed parameters
On some occasions where col in (:args) contain a really lot args, 10k+ for instance, this commit fixes a performance (high CPU) bug by NOT traversing the whole map in basically O(n^2) manner

Signed-off-by: Mikhail Fedorov <mfedorov761@gmail.com>

Squashed by Jens Schauder

Original pull request #2050
2025-05-07 10:31:02 +02:00
Jens Schauder
520d6a7d4d Polishing.
Added author tags.

Original pull request: #2049
See #2025
2025-05-06 16:06:29 +02:00
Daeho Kwon
e88f4fe299 Adopt to deprecated QueryMethod constructor.
Original pull request: #2049
Closes: #2025
2025-05-06 16:05:55 +02:00
Jens Schauder
e6fe49dd59 Upgraded CodeQL to V3.
V2 is no longer supported.

Closes #2044
 Original pull request #2039
2025-04-25 14:29:39 +02:00
Jens Schauder
a03e03786a Add maven.config to .gitignore
This allows to use it comfortable to configure personal preferences for running maven.
One example is to disable build caches.

Original pull request #2039
2025-04-25 14:29:33 +02:00
Mark Paluch
0aecfcee73 Polishing.
Extract SequenceEntityCallbackDelegate from IdGeneratingBeforeSaveCallback. Renameto IdGeneratingEntityCallback and move callback to convert package.

Align return values and associate generated sequence value with the entity. Fix test. Add ticket references to tests.

Extract documentation partials.

See #1955
Original pull request: #2028
2025-04-24 09:51:02 +02:00
mipo256
d6121cbfe2 R2DBC @Sequence annotation support.
Signed-off-by: mipo256 <mikhailpolivakha@gmail.com>

See #1955
Original pull request: #2028
2025-04-24 09:42:24 +02:00
Mark Paluch
30dfdcee2c After release cleanups.
See #2015
2025-04-22 11:26:49 +02:00
Mark Paluch
7e2064315f Prepare next development iteration.
See #2015
2025-04-22 11:26:48 +02:00
Mark Paluch
60fe3455ef Release version 3.5 RC1 (2025.0.0).
See #2015
2025-04-22 11:24:11 +02:00
Mark Paluch
5044e88c18 Prepare 3.5 RC1 (2025.0.0).
See #2015
2025-04-22 11:23:53 +02:00
Mark Paluch
85562ffc9a Switch from mysql to com.mysql groupId.
See #2032
2025-04-17 15:34:31 +02:00
Mark Paluch
c095c23bd7 Remove custom awaitility in favor of Build-managed versions.
Closes #2033
2025-04-17 09:47:45 +02:00
Mark Paluch
f15f63a5ad Upgrade JDBC drivers.
Closes #2032
2025-04-17 09:36:49 +02:00
Mark Paluch
1f2e69452b Fix integration tests.
See #2003
Original pull request: #2005
2025-04-09 15:28:58 +02:00
Mark Paluch
e27a05880f Fix typo in sequence selection.
See #2003
Original pull request: #2005
2025-04-09 11:48:04 +02:00
Mark Paluch
eb25cc3ed4 Move Sequence to RelationalPersistentProperty.
Sequence details are now maintained on the property level instead of using the entity level. This is a more accurate representation of the underlying model and that properties are annotated and not entities. It also allows future extension of expanding sequence support to general properties.

Extract delegate for sequence generation. Move types to org.springframework.data.jdbc.core.convert to resolve package cycles.

See #2003
Original pull request: #2005
2025-04-09 10:45:47 +02:00
Mark Paluch
d0e43be314 Polishing.
Refine assignment flow and use early returns where possible. Cache empty MapSqlParameterSource. Reduce dependency on RelationalMappingContext using a lower-level abstraction signature. Simplify names. Use default value check from Commons. Fix log warning message. Add missing since tags.

Remove superfluous annotations and redundant code. Tweak documentation wording.

Closes #2003
Original pull request: #2005
2025-04-09 10:31:15 +02:00
mipo256
0fc3187916 Omit Sequence value generation when identifier value is provided or the entity is not new.
Signed-off-by: mipo256 <mikhailpolivakha@gmail.com>

Closes #2003
Original pull request: #2005
2025-04-09 10:30:42 +02:00
Mark Paluch
f3dc789068 After release cleanups.
See #1996
2025-03-14 09:33:43 +01:00
Mark Paluch
8bedb3d7d0 Prepare next development iteration.
See #1996
2025-03-14 09:33:42 +01:00
Mark Paluch
f4b4a77ed7 Release version 3.5 M2 (2025.0.0).
See #1996
2025-03-14 09:31:05 +01:00
Mark Paluch
a38ae7743d Prepare 3.5 M2 (2025.0.0).
See #1996
2025-03-14 09:30:46 +01:00
Jens Schauder
5c0ebf3ada Remove alle Gitter references.
Closes #2010
2025-03-11 10:43:30 +01:00
Jens Schauder
ba9021243c Remove usage of Slf4J.
Closes #2009
2025-03-11 10:27:01 +01:00
Jens Schauder
a7a9fbca5d Polishing.
Refining documentation.

Original pull request #2008
2025-03-10 15:20:17 +01:00
mipo256
1c15a8bade Clarify lack of @Lock support for String-based queries.
Original pull request #2008

Signed-off-by: mipo256 <mikhailpolivakha@gmail.com>

Commit message edited.
2025-03-10 15:19:19 +01:00
Jens Schauder
55730eac64 Fix documentated syntax for tableName in queries.
Closes #1999
2025-02-21 14:17:34 +01:00