Jens Schauder
58a67ceb2a
Polishing.
...
Added `@author` tags.
Undo the change in behaviour of getReference(IdentifierProcessing).
See #1110
Original pull request #1458
3 years ago
Kurt Niemi
18eda61f15
Deprecate redundant getReference(IdentifierProcessing) method.
...
Closes #1110
Original pull request #1458
3 years ago
Christoph Strobl
0bfed4042d
Prepare next development iteration.
...
See #1430
3 years ago
Christoph Strobl
3ff271f100
Release version 3.1 M3 (2023.0.0).
...
See #1430
3 years ago
Mark Paluch
09189a4c41
Polishing.
...
Simplify TypeInformation creation from a MethodParameter.
Original pull request: #1356
See #1343
3 years ago
Jens Schauder
d1e039a387
Convert only contents of collections using `StringBasedJdbcQuery`.
...
Contents of Iterables that aren't collections will not be converted individually.
Closes #1343
Original pull request: #1356
3 years ago
Jens Schauder
6855b9bd25
Polishing.
...
Simplify test.
Original pull request: #1356
See #1343
3 years ago
Mark Paluch
637d06a9a0
Apply custom converter for Collection-like values in queries.
...
We now apply converters only for Collection-like values and no longer to Iterable types.
Closes #1452
3 years ago
Jens Schauder
c7e7f3eced
Reenable DependencyTests.
...
Closes #1441
3 years ago
Christoph Strobl
eac53196b6
Prepare next development iteration.
...
See #1429
3 years ago
Christoph Strobl
0cca3e817e
Release version 3.1 M2 (2023.0.0).
...
See #1429
3 years ago
Christoph Strobl
1290cff7c0
Prepare next development iteration.
...
See #1389
3 years ago
Christoph Strobl
8f4945c402
Release version 3.1 M1 (2023.0.0).
...
See #1389
3 years ago
Mark Paluch
68781c9ab3
Adopt to Mockito 5.1 changes.
...
Closes #1424
3 years ago
Jens Schauder
0b85b6f216
Polishing.
...
Simplified use of queryMethod in the different JdbcQuery classes.
Improved method names.
Added author tags.
Code formatting.
Corrected HTML in JavaDoc.
Originial pull request #1423
3 years ago
Mikhail2048
468f94b312
Avoid superfluous creation of RowMappers.
...
For modifying queries RowMappers get now longer created.
Improved documentation for `@Query` annotation.
Original pull request #1423
3 years ago
Jens Schauder
c5c60dadde
Polishing.
...
Original pull request #1403
See #1286
3 years ago
Mikhail2048
8eb80af044
Support of embedded properties in Sort.by.
...
Original pull request #1403
Closes #1286
3 years ago
Jens Schauder
f6de0f3b20
Fixed Postgres scripts.
...
See #1406
See #1405
3 years ago
Mark Paluch
82bc225b0b
Polishing.
...
Simplify sanitizer. Add unit test.
See #1405
See #1406
Original pull request #1415
3 years ago
Jens Schauder
427fc4d83b
`SqlIdentifierParameterSource` now sanitizes identifier names.
...
Closes #1405
See #1406
Original pull request #1415
3 years ago
Mikhail2048
b8e8c996b6
Integration test added to demonstrate behavior when column names contain characters illegal for bind parameters.
...
See #1405
Related pull request #1406
Original pull request #1415
3 years ago
Jens Schauder
e325c0152b
Allow empty Iterable arguments in JdbcAggregateTemplate again.
...
This also affects repositories since they delegate to the template.
Closes #1401
3 years ago
Mark Paluch
3045225207
Extend license header copyright years to 2023.
...
See #1400
3 years ago
Jens Schauder
fb9a4f363d
Polishing.
...
Original pull request #1396
See #1395
3 years ago
mhyeon-lee
d10be27485
Add insertAll and updateAll for JdbcAggregateOperations.
...
Original pull request #1396
Closes #1395
3 years ago
Jens Schauder
e590dceede
Polishing.
...
Original pull request 1384
See #833
3 years ago
Viktor Ardelean
09f9da5128
Improved error message on missing back reference.
...
Closes #833
Original pull request 1384
3 years ago
Mark Paluch
8ed08e5e8e
Prepare next development iteration.
...
See #1361
3 years ago
Mark Paluch
c244985b56
Release version 3.0 GA (2022.0.0).
...
See #1361
3 years ago
Dmitriy
559a4488ea
Add Transactional annotation to deleteAllById.
...
Original pull request #1370
3 years ago
Christoph Strobl
5fbc68ef87
Add Nullable annotation to parameter of overridden equals method.
...
Closes #1374
Original pull request #1375
3 years ago
Mark Paluch
dac1729713
Prepare next development iteration.
...
See #1366
3 years ago
Mark Paluch
06e40a3f30
Release version 3.0 RC2 (2022.0.0).
...
See #1366
3 years ago
Mark Paluch
3b6c2f06ae
Disable package cycle tests to unblock CI builds.
...
See #1366
3 years ago
Mark Paluch
61dcc5168b
Prepare next development iteration.
...
See #1333
3 years ago
Mark Paluch
99ac540555
Release version 3.0 RC1 (2022.0.0).
...
See #1333
3 years ago
Jens Schauder
58bf5566b6
Dependency tests are now based on ArchUnit.
...
Replaced ignored tests with exclusion of packages and classes.
Upgraded ArchUnit dependency to 1.0.0.
Closes #1354
3 years ago
Jens Schauder
6bdc7db24b
Offer a proper replacement for NamingStrategy.INSTANCE.
...
Closes #1350
3 years ago
Mark Paluch
795e244511
Polishing.
...
Do not expose setForeignKeyNaming methods on NamingStrategy to make less assumptions about how a naming strategy gets implemented. Provide getRequiredLeafEntity method on PersistentPropertyPathExtension to reduce null and state assertion checks.
Refine getTableName/getQualifiedTableName approach to reduce API surface and avoid deprecations.
See #1147
Original pull request: #1324 .
3 years ago
Jens Schauder
e7d32bbea2
Polishing.
...
See #1162
Original pull request: #1324 .
3 years ago
Jens Schauder
d7f2a27ee9
Revised default behaviour for back reference naming.
...
The new default is to take `@Table` annotations into account.
The behaviour can be configured by setting the `foreignKeyNaming` property on the `RelationalMappingContext`.
Closes #1162
See #1147
Original pull request: #1324 .
3 years ago
Jens Schauder
40446f9ca9
The back reference generation is now configurable.
...
The default version is the behavior that existed so far:
The back reference is the table name as generated by the `NamingStrategy` without taking `@Table` annotations into account.
The new alternative is to take `@Table` into account.
The behavior can be configured by setting the `foreignKeyNaming` property on the `RelationalMappingContext`.
Closes #1161
Closes #1147
Original pull request: #1324 .
3 years ago
Jens Schauder
004804aad8
Introduce `@InsertOnlyProperty`.
...
You may now annotate properties of the aggregate root with `@InsertOnlyProperty`.
Properties annotated in such way will be written to the database only during insert operations, but they will not be updated afterwards.
Closes #637
Original pull request #1327
3 years ago
Mark Paluch
76ea47ab16
Deprecate mutability of `DelegatingDataAccessStrategy`.
...
See: #1315
Original pull request: #1324 .
3 years ago
Mark Paluch
26c5c5dd93
Polishing.
...
Use consistent method and argument names for newly introduced methods. Reorder and group template API methods to keep related methods together.
See: #1315
Original pull request: #1324 .
3 years ago
Jens Schauder
aef1e34f5e
Drop superfluous class argument from delete methods in `JdbcAggregateTemplate`.
...
Closes : #1315
Original pull request: #1324 .
3 years ago
Jens Schauder
01e98dc171
Polishing.
...
See: #1315
Original pull request: #1324 .
3 years ago
Jens Schauder
e171d4b91b
Remove non-Javadoc comments.
...
These are no longer serve their purpose.
Closes #1347
3 years ago
Jens Schauder
ea00369f07
Add support for factory methods.
...
R2DBC now supports the use of factory methods for entity creation.
Spring Data JDBC already does so via f326897950
Simply annotate a static factory method on your entity class with `@PersistenceCreator`.
Closes #1346
See https://github.com/spring-projects/spring-data-commons/issues/2476
See f326897950
3 years ago