Commit Graph

2258 Commits

Author SHA1 Message Date
mipo256
21b74e2e3f Applies proper event handling before saving in batch.
Signed-off-by: mipo256 <mikhailpolivakha@gmail.com>

Commit message edited by Jens Schauder.

Original pull request #2065
Closes #2064
2025-06-11 14:53:39 +02:00
Jens Schauder
243c060bd8 Deprecate JdbcMySqlDialect.INSTANCE and MySqlDialect.MYSQL_IDENTIFIER_PROCESSING.
MySql does not have a fixed Identifierprocessing, therefore predefined instances doesn't make sense.

Closes #2060
See https://dev.mysql.com/doc/refman/8.4/en/identifier-case-sensitivity.html
2025-06-10 11:12:23 +02:00
Mark Paluch
d411be41ac After release cleanups.
See #2043
2025-05-16 14:18:48 +02:00
Mark Paluch
64cdd24126 Prepare next development iteration.
See #2043
2025-05-16 14:18:47 +02:00
Mark Paluch
b891d19a45 Release version 4.0 M3 (2025.1.0).
See #2043
2025-05-16 14:16:18 +02:00
Mark Paluch
5d8c1862c4 Prepare 4.0 M3 (2025.1.0).
See #2043
2025-05-16 14:15:57 +02:00
Jens Schauder
a3b24e4fec Fix JavaDoc errors.
Original pull request #1893
See #1006
2025-05-16 12:23:07 +02:00
Mark Paluch
80af6711ea Remove package-info from empty package.
Javadoc creation fails for empty packages with package-info.java

See #2043
2025-05-16 12:23:07 +02:00
Jens Schauder
19ff9fafa6 Fix Sql Scripts.
Original pull request #1893
2025-05-16 12:23:07 +02:00
Jens Schauder
563f8bb0a8 Polishing.
Formatting.

Original pull request #1893
See #1006
2025-05-16 12:23:07 +02:00
Jens Schauder
78f433608e Fix import after rebase.
Original pull request #1893
See #1006
2025-05-16 12:23:06 +02:00
Mikhail2048
1d49abf0c2 Consider QueryMappingConfiguration for part tree queries.
Signed-off-by: mipo256 <mikhailpolivakha@gmail.com>

Commit message edited by Jens Schauder

Original pull request #1893
Closes #1006
2025-05-16 12:23:06 +02:00
Mark Paluch
cd17bb2da8 Implement RepositoryFactorySupport.getEntityInformation(RepositoryMetadata) instead of private overload.
Overriding the proper variant of EntityInformation is now possible because we no longer utilize a private method in addition to the public one leading to partial customization of EntityInformation.

Closes #2053
2025-05-16 12:23:06 +02:00
Jens Schauder
5d3d38e8ef Polishing.
Formatting.

Original pull request #2000
See #1998
2025-05-16 12:23:06 +02:00
mipo256
1ef4182907 Extract RowMapper into top level classes.
Signed-off-by: mipo256 <mikhailpolivakha@gmail.com>

Commit message changed by Jens Schauder

Original pull request #2000
Closes #1998
2025-05-16 12:23:06 +02:00
mipo256
cb86d91ff0 Polishing.
Uses new switch syntax.

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

Commit message changed by Jens Schauder

Original pull request #2000
See #1998
2025-05-16 12:23:06 +02:00
Mark Paluch
75fb5ce216 Update CI Properties.
See #2043
2025-05-16 12:23:06 +02:00
Jens Schauder
00f4a61b82 Polishing.
Formatting.
Added a test.

Original pull request #2023
See #2008
2025-05-16 12:23:05 +02:00
mipo256
dcaef9c968 Fail on annotated query methods with @Lock.
Query methods that are not derived methods now cause an exception, when they are annotated with `@Lock`, since this combination is not supported.

Before they just logged a warning.

Comment edited by Jens Schauder

Signed-off-by: mipo256 <mikhailpolivakha@gmail.com>
2025-05-16 12:23:05 +02:00
Jens Schauder
8225d692f6 Polishing.
Formatting.
Fixing SQL scripts.

Original pull request #1956
See #831
2025-05-16 12:23:05 +02:00
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