667 Commits

Author SHA1 Message Date
Mark Paluch
8784eb4577 Move Spring Data R2DBC into Spring Data Relational.
Closes #746
2022-03-23 13:59:18 +01:00
Mark Paluch
d005f184ab Update CI properties.
See #706
2022-02-22 14:10:51 +01:00
Christoph Strobl
6289f4de9b Update copyright year to 2022.
See: #722
2022-02-17 14:45:17 +01:00
Oliver Drotbohm
4218d5a321 Adapt to changes in entity creation metadata APIs in Spring Data Commons. 2022-02-16 08:04:35 +01:00
Greg L. Turnquist
0d3dbeba70 Update CI properties.
See #706
2022-02-15 09:00:20 -06:00
Jens Schauder
a17e4bba49 Follow through with the split of CRUD repository and sorting repository.
Closes #719
See spring-projects/spring-data-commons#2537
2022-02-11 11:43:31 +01:00
dependabot[bot]
74ecdb5de9 Upgrade postgresql to 42.2.25.
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc) from 42.2.5 to 42.2.25.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.2.5...REL42.2.25)

---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Closes #716
2022-02-10 10:56:06 +01:00
Mark Paluch
7c3ff05cb5 Upgrade tests to use R2DBC 0.9.
See #710
2022-02-07 11:14:25 +01:00
Mark Paluch
907f4865b5 Upgrade to R2DBC 0.9.
Remove MySQL support as the MySQL driver is not yet published. Update groupId for Postgres driver to org.postgresql.

See #710
2022-02-07 11:00:30 +01:00
Mark Paluch
b951610fc3 Update CI properties.
See #706
2022-02-07 09:32:14 +01:00
Mark Paluch
ae46cff781 Upgrade to netty 4.1.73.Final.
Closes #717
2022-02-04 09:07:19 +01:00
Mark Paluch
b3c33ab428 Upgrade to R2DBC Spec 0.9 (Borca release train).
Closes #710
2022-02-04 09:07:17 +01:00
Mark Paluch
b06c90cfa1 Upgrade to Oracle JDBC driver 21.4.0.0.1.
See #710
2022-02-04 09:06:58 +01:00
Mark Paluch
fd342b9f8c Polishing.
Use AUTO_INCREMENT instead of serial data type for H2 tests.

See #710.
2022-02-04 09:06:30 +01:00
Mark Paluch
abf597c6f3 Polishing.
Extract docker credentials into properties file.

See #715
2022-02-03 13:21:55 +01:00
Greg L. Turnquist
c427efc1ac Externalize build properties.
See #715.
2022-02-03 13:17:23 +01:00
Mark Paluch
dbc4365eef Remove deprecated DatabaseClient, connectionfactory package and other deprecated code
Removal of the connectionfactory package and deprecated core classes that were migrated into Spring Framework R2DBC.

Closes #712
2022-01-28 10:31:42 +01:00
Mark Paluch
eab9a89082 Guard access to identifier property.
We now check in all places where we optionally use the Id property that an entity actually has an Id property and fall back leniently if the entity doesn't have an identifier property.

Also, we use IdentifierAccessor consistently if the property is an identifier property.

See #711
2022-01-20 13:43:43 +01:00
Mark Paluch
1cd5bc835a Polishing.
Reformat code. Add author tags.

See: #698
Original pull request: #708.
2022-01-17 11:00:19 +01:00
Manousos Mathioudakis
b67359dc10 Fix isTrue/isFalse comparison for SQL server by using bind values.
Closes: #698
Original pull request: #708.
2022-01-17 11:00:19 +01:00
Mark Paluch
29d1fd4d7a After release cleanups.
See #701
2022-01-14 14:43:22 +01:00
Mark Paluch
5162a2ccc9 Prepare next development iteration.
See #701
2022-01-14 14:43:19 +01:00
Mark Paluch
1158a9a4ce Release version 3.0 M1 (2022.0.0).
See #701
2022-01-14 14:35:09 +01:00
Mark Paluch
887cf818a4 Prepare 3.0 M1 (2022.0.0).
See #701
2022-01-14 14:34:47 +01:00
Mark Paluch
87f4e0523f Update CI pipeline for Java 17 build
See #660
2022-01-14 08:53:02 +01:00
Mark Paluch
c8b663cd97 Adapt to changes in Spring Data Commons
See #660
2022-01-14 08:53:01 +01:00
Mark Paluch
3d728241e9 Prepare 3.0 development.
See #660
2022-01-14 08:53:01 +01:00
Mark Paluch
ba063f02e4 Upgrade to R2DBC Arabba-SR12.
Closes #702
2022-01-14 08:52:41 +01:00
Mark Paluch
2753a1cc34 Adopt to Mockito changes.
Closes #700
2022-01-04 14:50:18 +01:00
Mark Paluch
7c2942e459 Reflectively invoke RowMetadata.getColumnMetadatas.
We now use reflection to call RowMetadata.getColumnMetadatas to avoid NoSuchMethodError when using R2DBC 0.9 as the return type has changed in newer R2DBC versions.

Closes #699
2022-01-03 16:28:03 +01:00
Mark Paluch
7bd27c6a51 Unwrap Parameter objects when used within PreparedOperation.
We now unwrap Parameter objects containing type and value for bind parameters when binding these from within a PreparedOperation to a statement.

PreparedOperation objects are expected to use low-level R2DBC API (bind, bindNull) instead of using the Parameter abstraction. Previously, we tried to bind Parameter objects to R2DBC Statements and that has failed as drivers cannot encode Spring's Pararameter type.

Closes #694
2021-12-14 14:45:22 +01:00
Mark Paluch
b827915ceb Polishing.
Remove unused imports. Use more explicit lambda parameter naming.

Also, adopt tests to changed Spring Data Relational SQL generation.

Original pull request: #690.
See #689
2021-12-07 09:23:20 +01:00
JoseLion
25323caf2b Use BeforeConvert callback result on non-versioned updates.
Previously, we used the original entity.

Closes #689
Original pull request: #690.
2021-12-07 09:22:30 +01:00
Jens Schauder
c1a2be67be After release cleanups.
See #668
2021-11-12 10:59:44 +01:00
Jens Schauder
3392b4f9fa Prepare next development iteration.
See #668
2021-11-12 10:59:41 +01:00
Jens Schauder
580ff60344 Release version 1.4 GA (2021.1.0).
See #668
2021-11-12 10:49:36 +01:00
Jens Schauder
3a3a9d6bdd Prepare 1.4 GA (2021.1.0).
See #668
2021-11-12 10:49:15 +01:00
Mark Paluch
0d5a75abaa Polishing.
Reduce test method visibility.

See #683
2021-11-10 14:34:50 +01:00
Mark Paluch
d5aea5203c Move off RowMetadata.getColumnNames(…) in preparation for R2DBC 0.9.
Closes #683
2021-11-10 14:34:30 +01:00
Mark Paluch
c8ef7b4076 Use fully qualified names in ORDER BY clause.
Closes #680
2021-11-08 10:25:26 +01:00
Mark Paluch
0ad751ec5c Avoid nested entity creation if column value is null.
We now no longer attempt to create instances of nested entities if the column value is null. Previously the null check happened after checking registered custom conversions which has lead to potential object creation for columns containing null values.

Closes #670
2021-10-25 15:43:43 +02:00
Nik Handyman
72ab6c3195 Remove redundant word from reference documentation.
Closes #634
2021-10-25 15:22:03 +02:00
Mark Paluch
f02e398868 After release cleanups.
See #654
2021-10-18 13:55:41 +02:00
Mark Paluch
5c9e341c8a Prepare next development iteration.
See #654
2021-10-18 13:55:38 +02:00
Mark Paluch
e6daa5f3c1 Release version 1.4 RC1 (2021.1.0).
See #654
2021-10-18 13:48:13 +02:00
Mark Paluch
5171f501c3 Prepare 1.4 RC1 (2021.1.0).
See #654
2021-10-18 13:47:45 +02:00
Mark Paluch
5fce1f81e9 Polishing.
Remove invalid docker parameter.

See #656
2021-10-11 14:51:09 +02:00
Mark Paluch
9de741fb57 Upgrade to Maven Wrapper 3.8.3.
See #664
2021-10-11 14:30:22 +02:00
Mark Paluch
a53f4ac375 Add support for fluent Query by Example query definition.
Closes: #663
2021-10-08 13:56:34 +02:00
Mark Paluch
944577df67 Polishing.
Fix javadoc.

See #661
2021-10-04 11:25:18 +02:00