Commit Graph

1591 Commits

Author SHA1 Message Date
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
d04373b5a8 After release cleanups.
See #1126
2022-01-14 14:43:22 +01:00
Mark Paluch
29d1fd4d7a After release cleanups.
See #701
2022-01-14 14:43:22 +01:00
Mark Paluch
5a312d4b2d Prepare next development iteration.
See #1126
2022-01-14 14:43:19 +01:00
Mark Paluch
5162a2ccc9 Prepare next development iteration.
See #701
2022-01-14 14:43:19 +01:00
Mark Paluch
595d58b18a Release version 3.0 M1 (2022.0.0).
See #1126
2022-01-14 14:35:09 +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
b7b1d87603 Prepare 3.0 M1 (2022.0.0).
See #1126
2022-01-14 14:34:46 +01:00
Jens Schauder
07cef3f21a Moved JdbcValue
This avoids cyclic dependencies between mapping and conversion.

Closes #1062
See #1128
2022-01-14 09:31:13 +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
Jens Schauder
a5d584ec42 Remove Eclipse Non-Javadoc comments.
Closes #1120
2022-01-14 08:48:28 +01:00
Jens Schauder
4e8a404139 Polishing.
Setting Log level to WARN/INFO for relational.

See #1058
Original pull request #1107
2022-01-14 08:48:28 +01:00
Jens Schauder
4042522474 Reimplemented dependency tests using ArchUnit.
Moved RelationalAuditingCallback and JdbcArrayColumns to remove dependency cycle.

Closes #1058
Original pull request #1107
2022-01-14 08:48:28 +01:00
Mark Paluch
235d9bc196 Refine CI triggers.
See #1054
2022-01-14 08:48:28 +01:00
Jens Schauder
45c57acbb4 Fix JavaDoc.
Self closing <p/> tags cause build failures now.

Closes #1059
2022-01-14 08:48:28 +01:00
Jens Schauder
a75dba3d20 Moving off removed constructor of AuditHandler
See #1055
2022-01-14 08:48:28 +01:00
Jens Schauder
2646fd5bba Disabling Degraph DependencyTests.
See #1058
2022-01-14 08:48:28 +01:00
Jens Schauder
f6f9d7e22f Move baseline build to JDK17.
Closes #1057
2022-01-14 08:48:27 +01:00
Jens Schauder
f0bc1b179f Fixed inconsistent poms.
See: #1055
2022-01-14 08:48:27 +01:00
Jens Schauder
f32e4c2cbe Prepare Spring Data 3.0 branch.
Includes the upgrade to spring-data-commons:3.0.0

Closes #1055
2022-01-14 08:48:27 +01:00
Jens Schauder
794b031507 Prepared move of JdbcValue to mapping.
This is to avoid dependency cycles between mapping and conversion.

Closes #1128
2022-01-14 08:45:05 +01:00
Jens Schauder
09f78c4786 Add JdbcValue as a simple type.
Closes #1122
2022-01-12 11:45:36 +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
Jens Schauder
0388315ea5 Adds support for windowing functions.
This allows us to use analytic functions aka windowing functions in generated select statements.

Closes #1019
2021-12-17 16:38:07 +01:00
Jens Schauder
1acb66645d Fix missing class issue with H2 version 2.0.202
With older versions H2 returned a proprietary  instance of `TimestampWithTimeZone` from `ResultSet.getObject()`.
We used to support the conversion of that to an `OffsetDateTime`.

With the most recent versions `TimestampWithTimeZone` is no longer part of the H2 driver, and we only register the converter when we encounter older versions of H2.

Closes #1114
See https://github.com/h2database/h2database/pull/1359
2021-12-17 09:15:55 +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
Jens Schauder
ee1f420d81 Polishing.
Original pull request #1097
2021-12-07 15:22:57 +01:00
Charles
af72307d4b Fix Flaky Tests.
Original pull request #1097
2021-12-07 15:02:27 +01:00
Jens Schauder
9fc74826ff Polishing.
Removed jetbrains annotation.
Removed attempt to cache annotation lookup.
Those lookups are already cached and obtaining them in the constructor causes overhead when they aren't requested at all.
Limit the use of Optional.

See #1099
Original pull request #1108
2021-12-07 14:11:44 +01:00
Mikhail-Polivakha
d12146d78c Support specification of a schema in Column annotations.
Closes #1099
Original pull request #1108
2021-12-07 11:08:57 +01:00
Jens Schauder
cdff3850ae Migrate off Slf4J to JCL.
Closes #1091
Original pull request #1092
2021-12-07 10:58:11 +01:00
Jens Schauder
4ef014246b Polishing.
Removing final on local variable.

See #1065
Original pull request #1085
2021-12-07 10:43:16 +01:00
Jens Schauder
2fc35f4ced Postgres geometric types are considered simple.
Closes #1065
Original pull request #1085
2021-12-07 10:42:50 +01:00
조찬형[Plasma]
e637190ee8 Fix broken links in documentation.
Closes #954
Original pull request #1109
2021-12-07 10:19:03 +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
aa39f3524e Disable broken part of DependencyTests.
See #777
See #1105
2021-12-01 13:42:54 +01:00