Mark Paluch
fa1433490b
Polishing.
...
Extend tests.
See #2147
2 months ago
Mark Paluch
49f4b5f18b
Extraneous warnings related to `JdbcSqlServerDialect`.
...
Add tests for R2DBC types as well.
Closes #2147
2 months ago
Mark Paluch
c8196b52c4
Polishing.
...
Reformat code, tweak visibility.
See #2147
2 months ago
Mark Paluch
6ac7e6a25e
Polishing.
...
Remove invalid annotation usage.
See #2152
2 months ago
Mark Paluch
c2fce1ca17
Add H2 Dialect fallback to `JdbcRepositoryRegistrationAotProcessor`.
...
Closes #2152
2 months ago
Mark Paluch
89480b9b8a
Upgrade to R2DBC Postgresql 1.1.0.RELEASE.
...
Closes #2151
2 months ago
Mark Paluch
f3256b2508
Add `@CheckReturnValue` to `Query` and `Update` API.
...
Closes #2145
3 months ago
Mark Paluch
3c0ff9ed47
Exclude ByteBuddy from MSSQL JDBC Driver.
...
Closes #2143
3 months ago
Mark Paluch
f88039f84d
Update CI Properties.
...
See #2135
3 months ago
Jens Schauder
7638b887f0
Upgrade H2 to 2.4.240
...
The data type DATETIME seems to be no longer supported and got replaced by TIMESTAMP in all affected tests.
Closes #2142
See https://github.com/h2database/h2database/issues/4285
3 months ago
Jens Schauder
4b979d7970
Upgrade Postgres JDBC driver to 42.7.8
...
Closes #2141
3 months ago
Mark Paluch
1f4d7f3ee9
Adapt to AOT Infrastructure changes in Commons.
...
See spring-projects/spring-data-commons#3267
3 months ago
Mark Paluch
3a5e643cfa
Update GitHub Actions.
...
See #2135
3 months ago
Mark Paluch
d7629313e9
Refine AOT execution for derived queries.
...
We now provide an extension to directly run queries constructed from a derived query method to avoid leaking internals into AOT-generated code.
Closes #2140
3 months ago
Mark Paluch
c4e0112cad
Document placeholder and Ant-style pattern support for `@Enable…Repositories`.
...
See spring-projects/spring-data-commons#3366
3 months ago
Mark Paluch
18fda6768d
Define repository base class name in JDBC config extension.
...
Closes #2137
3 months ago
Mark Paluch
04bed6ac78
Reduce dependencies during AOT contribution.
...
Closes #2136
3 months ago
Christoph Strobl
ec39a0ed8a
After release cleanups.
...
See #2118
3 months ago
Christoph Strobl
ee155979c8
Prepare next development iteration.
...
See #2118
3 months ago
Christoph Strobl
f4f79d07c9
Release version 4.0 M6 (2025.1.0).
...
See #2118
3 months ago
Christoph Strobl
55207276e4
Prepare 4.0 M6 (2025.1.0).
...
See #2118
3 months ago
Mark Paluch
fab7b4eb90
Upgrade to R2DBC SQL Server 1.0.3.RELEASE.
...
Closes #2131
3 months ago
Mark Paluch
ca77912f86
Refine JavaPoet usage.
...
See: #2121
Original pull request: #2124
3 months ago
Mark Paluch
f6d4b28912
Add Ahead of Time Repository support.
...
We now provide AOT support to generate repository implementations during build-time for JDBC repository query methods.
Supported Features
Derived query methods, @Query and named query methods
* @Modifying methods returning void, int, and long
* Pagination, Slice, Stream, and Optional return types
* DTO and Interface Projections
* Value Expressions
Excluded methods
* CrudRepository, Querydsl, Query by Example, and other base interface methods as their implementation is provided by the base class respective fragments
* Methods whose implementation would be overly complex
* Methods accepting ScrollPosition (e.g. Keyset pagination)
Closes : #2121
Original pull request: #2124
3 months ago
Mark Paluch
c5e6975d13
Move off deprecated AOT API.
...
Closes #2067
Original pull request: #2124
3 months ago
Mark Paluch
273fddfba1
Refine version properties for documentation build.
...
See spring-projects/spring-data-build#2638
3 months ago
Mark Paluch
dc7affb399
Polishing.
...
Refine nullability annotation formatting, reduce warnings (final fields, isEmpty vs. length() == null), introduce getRequired…() methods to avoid Assert sprawl. Convert internal classes to records. Fix generic types (refactoring leftovers).
Replace package-info imports with fully-qualified annotation name to align formatting.
See #1980
Original pull request: #2126
3 months ago
Jens Schauder
c15e3b5e62
Migrate to JSpecify annotations for nullability constraints.
...
Replace nullability annotations with their JSpecify equivalents.
Enable checking this annotations at compile time using Errorprone and NullAway.
Closes #1980
Original pull request: #2126
3 months ago
Mark Paluch
ca45cd56b0
Refine version properties for documentation build.
...
See spring-projects/spring-data-build#2638
4 months ago
Mark Paluch
245b8e5930
After release cleanups.
...
See #2094
4 months ago
Mark Paluch
1a64a8d2f0
Prepare next development iteration.
...
See #2094
4 months ago
Mark Paluch
cb7295990f
Release version 4.0 M5 (2025.1.0).
...
See #2094
4 months ago
Mark Paluch
55f151be96
Prepare 4.0 M5 (2025.1.0).
...
See #2094
4 months ago
Mark Paluch
7fff45ee47
Polishing.
...
Refine documentation links.
See #2094
4 months ago
Jens Schauder
2841b90f6e
Polishing.
...
See #2011
Original pull request: #2114
4 months ago
Mark Paluch
079c177d72
Add support for embeddable mapping to QueryMapper and UpdateMapper.
...
We now support querying, updating, sorting and projecting embeddables by resolving these to their individual columns.
Closes #2011
Original pull request: #2114
4 months ago
Jens Schauder
c6a0c8b4ff
Fix Composite ids for R2DBC.
...
R2DBC now has minimal support for embedded entities.
We can read and write them.
And we can use them as ids.
Closes #2012
Original pull request: #2114
4 months ago
Mark Paluch
3835b11f17
Upgrade JDBC drivers.
...
MariaDB 3.5.5
Closes #2105
4 months ago
Mark Paluch
7ea58ddce4
Apply DTO projection through JDBC's Query by Example.
...
Spring Data JDBC doesn't allow projections through JdbcAggregateOperations yet and so we need to apply DTO conversion.
Closes #2098
4 months ago
Mark Paluch
e4136378dd
Hide `IdOnlyAggregateReference` class.
...
IdOnlyAggregateReference is an implementation detail of AggregateReference.
Closes #2106
4 months ago
Mark Paluch
91352c0d22
Remove misleading `@Nullable` annotation from `AggregateReference.getId()`.
...
Aggregate references must be valid on their own and a null reference would represent a broken reference as we consider null identifiers as transient.
Closes #2104
4 months ago
Mark Paluch
fdb04231c7
Upgrade JDBC drivers.
...
Closes #2105
4 months ago
Mark Paluch
eb1c23048d
Polishing.
...
Simplify JdbcArrayColumns from a dialect. Simplify DataAccessStrategyFactory creation. Remove superfluous overrides.
See #687
Original pull request: #1704
4 months ago
Mark Paluch
3ed4deadc1
Polishing.
...
Avoid Oracle DataSource shutdown.
See #687
Original pull request: #1704
4 months ago
Mark Paluch
8e32af4257
Polishing.
...
Consistently configure components using JdbcAggregateOperations. Reorder methods, refine dependency lookups. Refine JdbcAggregateTemplate dependency setup for easier object creation.
Extend tests. Refine bean names to provide naming hints for easier bean lookup in case multiple beans are registered for the same type.
See #687
Original pull request: #1704
4 months ago
Tomohiko Ozawa
d17bff807d
Add `jdbcAggregateOperationsRef` to `@EnableJdbcRepositories`.
...
Closes #687
Original pull request: #1704
4 months ago
Jens Schauder
38f2af078a
Upgrade to Netty 4.2.3.Final
...
Closes #2097
5 months ago
Mark Paluch
422dca0f78
After release cleanups.
...
See #2058
5 months ago
Mark Paluch
29cf03f4d8
Prepare next development iteration.
...
See #2058
5 months ago
Mark Paluch
ff01add2ee
Release version 4.0 M4 (2025.1.0).
...
See #2058
5 months ago