2265 Commits

Author SHA1 Message Date
JaeYeon Kim
850e90e6cd Fixing Typo in JdbcAggregateChangeExecutionContext Exception Message.
Signed-off-by: JaeYeon Kim <ghgh415263@naver.com>

Original pull request #2074
2025-06-16 15:41:25 +02:00
Jens Schauder
897e54ac9d Fix Typo in error message.
Closes #2073
2025-06-16 08:46:36 +02:00
Mark Paluch
a1f104b004 Polishing.
Resolve mapped property paths to aggregate paths. Add tests.
Clean up unused profile declarations.

See #1803
Original pull request: #1967
2025-06-13 10:28:21 +02:00
Jens Schauder
a611c5fc33 JdbcAggregateTemplate honors columns specified in query.
If no columns are given, all columns are selected by default.

If columns are specified, only these are selected.
Joins normally triggered by columns from 1:1 relationships are not implemented, and the corresponding columns don't get loaded and can't be specified in a query.

Limiting columns is not supported for single query loading.

Closes #1803
Original pull request: #1967
2025-06-13 10:28:21 +02:00
Jens Schauder
e82befd32e Polishing.
Formatting.
Simplification of code.

Original pull request #2065
See #2064
2025-06-11 14:57:30 +02:00
Jens Schauder
712b1809f6 Switch to VARCHAR2 for Oracle tests.
VARCHAR should not be used with Oracle.

Original pull request #2065
See #2064
2025-06-11 14:57:29 +02:00
Jens Schauder
aa843bfcfe Fixes integration tests.
Adding sizes to VARCHAR fields.

Original pull request #2065
See #2064
2025-06-11 14:55:19 +02:00
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