Commit Graph

105 Commits

Author SHA1 Message Date
valery1707
d640d61d75 Remove an extra level in the class hierarchy.
Closes #1574
2023-09-13 15:10:53 +02:00
Ramil Sayetov
7c33fb7e97 Fix links to spring.io docs.
Closes #1571
2023-09-13 15:08:38 +02:00
Mark Paluch
b522ad5eea Correctly convert enum array values.
We now correctly convert array write values. Previously, enum arrays were converted to null as these fell through the entity conversion.

Closes #1593
2023-08-23 15:41:03 +02:00
Mark Paluch
7a09c64dcb Prepare next development iteration.
See #1561
2023-08-18 10:46:30 +02:00
Mark Paluch
7c26379c84 Release version 3.0.9 (2022.0.9).
See #1561
2023-08-18 10:43:13 +02:00
Mark Paluch
fb7ec769ea Prepare next development iteration.
See #1541
2023-07-14 11:25:31 +02:00
Mark Paluch
2bb70622de Release version 3.0.8 (2022.0.8).
See #1541
2023-07-14 11:22:39 +02:00
Mark Paluch
71ae1480a5 Upgrade to latest R2DBC drivers.
Closes #1559
2023-07-14 10:22:05 +02:00
Mark Paluch
5f7335611b Prepare next development iteration.
See #1509
2023-06-16 15:43:09 +02:00
Mark Paluch
e10268aba9 Release version 3.0.7 (2022.0.7).
See #1509
2023-06-16 15:39:46 +02:00
Mark Paluch
178da45c68 Use snapshot and milestone repositories instead of libs-snapshot and libs-milestone.
Closes #1527
2023-06-06 09:59:56 +02:00
Christoph Strobl
e2a0c2262a Prepare next development iteration.
See #1495
2023-05-12 11:11:31 +02:00
Christoph Strobl
8231440108 Release version 3.0.6 (2022.0.6).
See #1495
2023-05-12 11:08:07 +02:00
Oleg Oshmyan
c4741dece2 Remove unnecessary reification from Kotlin R2DBC extensions.
This allows calling the extensions from generic code that has erased types.

Original pull request #1496
2023-04-25 09:30:48 +02:00
Greg L. Turnquist
5fe2d94028 Prepare next development iteration.
See #1455
2023-04-14 10:25:01 -05:00
Greg L. Turnquist
81d6f45b04 Release version 3.0.5 (2022.0.5).
See #1455
2023-04-14 10:19:17 -05:00
Mark Paluch
af4c6b5c3b Reinstate integration tests for R2DBC MySQL.
Closes #1475
2023-04-11 10:50:11 +02:00
Greg L. Turnquist
ec92259a5d Test against Java 20 on CI.
See #1462.
2023-04-04 16:16:40 -05:00
Christoph Strobl
103d7c0f8c Prepare next development iteration.
See #1440
2023-03-20 14:26:20 +01:00
Christoph Strobl
1158eec002 Release version 3.0.4 (2022.0.4).
See #1440
2023-03-20 14:22:49 +01:00
Mark Paluch
bc398a43a4 Reinstate support for mariadb-r2dbc.
Closes #1364
2023-03-16 15:51:24 +01:00
Mark Paluch
10ae1e2666 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
2023-03-15 16:46:07 +01:00
Mark Paluch
1fc5769eb2 Prepare next development iteration.
See #1428
2023-03-03 11:02:47 +01:00
Mark Paluch
ebeb455019 Release version 3.0.3 (2022.0.3).
See #1428
2023-03-03 10:59:34 +01:00
Mark Paluch
398df479a8 Prepare next development iteration.
See #1413
2023-02-17 11:02:26 +01:00
Mark Paluch
5ccb24a8ae Release version 3.0.2 (2022.0.2).
See #1413
2023-02-17 10:59:28 +01:00
Mark Paluch
316f5a2950 Upgrade to R2DBC Postgresql 1.0.1.RELEASE.
Closes #1425
2023-02-16 16:23:08 +01:00
Mark Paluch
0be8784969 Remove superfluous Arrays.fill(…) from ArrayUtils.getArrayClass(…).
Closes #1420
2023-01-30 15:39:47 +01:00
Mark Paluch
717c783218 Prepare next development iteration.
See #1388
2023-01-13 11:43:30 +01:00
Mark Paluch
444db60f06 Release version 3.0.1 (2022.0.1).
See #1388
2023-01-13 11:40:51 +01:00
Mark Paluch
d6e00a8734 Fix BLOB reading and writing.
We now correctly consider ByteBuffer, Clob, and Blob types as additional types to read and write blob data.

Closes #1408
2023-01-10 15:09:56 +01:00
Mark Paluch
5d3e737393 Extend license header copyright years to 2023.
See #1398
2023-01-02 09:50:19 +01:00
Mark Paluch
01f82a8026 Prepare next development iteration.
See #1361
2022-11-18 14:30:30 +01:00
Mark Paluch
c244985b56 Release version 3.0 GA (2022.0.0).
See #1361
2022-11-18 14:26:23 +01:00
Christoph Strobl
5fbc68ef87 Add Nullable annotation to parameter of overridden equals method.
Closes #1374
Original pull request #1375
2022-11-11 16:05:59 +01:00
Mark Paluch
ae1bb6a448 Fix empty collection conversion.
We now consider the target type for empty collections.

Closes #1379
2022-11-11 16:00:44 +01:00
Mark Paluch
c7856d9fbb Upgrade to R2DBC drivers 1.0 GA.
Closes #1378
2022-11-11 09:36:14 +01:00
Jens Schauder
5349fde133 Replace New and Noteworthy with links to release notes.
Closes #1351
Original pull request #1352
See spring-projects/spring-data-commons#2723
2022-11-10 10:34:31 +01:00
Mark Paluch
dac1729713 Prepare next development iteration.
See #1366
2022-11-04 15:26:38 +01:00
Mark Paluch
06e40a3f30 Release version 3.0 RC2 (2022.0.0).
See #1366
2022-11-04 15:23:17 +01:00
Mark Paluch
541eee7c8b Guard integration tests against known not-working OS variants.
Closes #1371
2022-10-31 15:02:59 +01:00
Mark Paluch
61dcc5168b Prepare next development iteration.
See #1333
2022-10-13 17:31:15 +02:00
Mark Paluch
99ac540555 Release version 3.0 RC1 (2022.0.0).
See #1333
2022-10-13 17:24:26 +02:00
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
2022-10-10 13:27:59 +02:00
Jens Schauder
6bdc7db24b Offer a proper replacement for NamingStrategy.INSTANCE.
Closes #1350
2022-10-07 16:24:47 +02:00
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.
2022-10-07 09:17:27 +02:00
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.
2022-10-07 09:17:05 +02:00
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
2022-10-06 12:54:33 +02:00
Jens Schauder
e171d4b91b Remove non-Javadoc comments.
These are no longer serve their purpose.

Closes #1347
2022-10-05 15:34:11 +02:00
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
2022-10-05 15:34:10 +02:00