Commit Graph

615 Commits

Author SHA1 Message Date
Mark Paluch
712992cb58 Add Java 17 to CI pipeline.
Closes #656
2021-09-21 16:20:48 +02:00
Mark Paluch
3eb9dd7971 After release cleanups.
See #638
2021-09-17 09:52:21 +02:00
Mark Paluch
029af889c1 Prepare next development iteration.
See #638
2021-09-17 09:52:18 +02:00
Mark Paluch
8c296d5ff7 Release version 1.4 M3 (2021.1.0).
See #638
2021-09-17 09:44:56 +02:00
Mark Paluch
ea0148dba5 Prepare 1.4 M3 (2021.1.0).
See #638
2021-09-17 09:44:33 +02:00
Christoph Strobl
e6ca0161ce Change visibility of PersistentEntitiesFactoryBean.
Also fix a javadoc parameter name mismatch along the way.

Closes: #651
2021-09-16 07:59:59 +02:00
Mark Paluch
f828b4c9f2 Upgrade to Maven Wrapper 3.8.2.
See #646
2021-09-10 15:37:57 +02:00
Jens Schauder
bfbbd10ec7 After release cleanups.
See #625
2021-08-12 15:16:23 +02:00
Jens Schauder
1b9f14d395 Prepare next development iteration.
See #625
2021-08-12 15:16:21 +02:00
Jens Schauder
4bf32feb31 Release version 1.4 M2 (2021.1.0).
See #625
2021-08-12 15:03:17 +02:00
Jens Schauder
72518d2bf3 Prepare 1.4 M2 (2021.1.0).
See #625
2021-08-12 15:02:56 +02:00
Mark Paluch
adfee8a297 Remove changelog shipped with the binaries.
Closes #631
2021-07-22 09:09:23 +02:00
Mark Paluch
a46b6751a5 Polishing.
Improve default converter setup by considering R2dbcCustomConversions.STORE_CONVERSIONS to register built-in converters in default configurations.

See #612
2021-07-22 09:07:38 +02:00
Mark Paluch
9b12bcec6e Defer PersistentEntity lookup until actual DTO conversion.
We now lazily instantiate DtoInstantiatingConverter to defer the entity lookup if needed.

Closes #612
2021-07-22 09:01:07 +02:00
Mark Paluch
60fd8420a9 Polishing.
Fix test.

See #628
2021-07-21 09:55:00 +02:00
Mark Paluch
efe46f46cd Improve documentation for Modifying annotation.
Outline that the usage of this annotation leads to calling Results.getRowsUpdated() to obtain the query method result value.

Closes #629
2021-07-21 09:25:46 +02:00
Mark Paluch
eea838cbed Deprecate R2dbcCustomConversions constructor taking Collection of converters.
Creating R2dbcCustomConversions without a dialect or StoreConversions can easily lead to misconfiguration that isn't immediately obvious because of missing store simple types. We now deprecated the constructor and have added guidance on how to properly create R2dbcCustomConversions that is associated with a dialect.

Closes #628
2021-07-21 09:19:28 +02:00
Jens Schauder
f6fee72585 After release cleanups.
See #584
2021-07-16 14:19:58 +02:00
Jens Schauder
532c56ce3b Prepare next development iteration.
See #584
2021-07-16 14:19:56 +02:00
Jens Schauder
0d77fb534f Release version 1.4 M1 (2021.1.0).
See #584
2021-07-16 14:09:25 +02:00
Jens Schauder
d47d256e53 Prepare 1.4 M1 (2021.1.0).
See #584
2021-07-16 14:08:59 +02:00
Jens Schauder
fac386fd62 Updated changelog.
See #584
2021-07-16 14:08:48 +02:00
Jens Schauder
85baac1306 Updated changelog.
See #610
2021-07-16 10:48:18 +02:00
Jay Bryant
fe7308100a Editing.
See #616
Original pull request: #617.
2021-07-15 14:13:34 +02:00
Jens Schauder
7d858c95e4 Improve documentation about name handling.
Closes #616
Original pull request: #617.
2021-07-15 14:12:41 +02:00
Mark Paluch
8ef6fa416d Introduce OutboundRow.clone() method.
Closes #620.
2021-07-13 10:10:25 +02:00
Mark Paluch
e0d6130ac8 Updated changelog.
See #599
2021-06-22 16:07:26 +02:00
Mark Paluch
c01bd622aa Updated changelog.
See #598
2021-06-22 15:29:52 +02:00
Mark Paluch
b1f1aaf957 Fix dynamic query method projection.
Query methods returning dynamic projections based on a Class argument now properly apply projection conversion. Previously, classes not seen by the mapping context were skipped and that caused projecting query methods to return the actual entity type.

Closes #607
2021-06-22 11:21:53 +02:00
Mark Paluch
7b8c1bb0ea Polishing.
Rename method to renderForGeneratedValues to reflect its intended usage and enhance documentation.

Tweak Javadoc.

Closes: #483
Original pull request: #602.
2021-06-11 08:42:58 +02:00
Jens Schauder
c86825740b Registration of columns for generated keys is now dialect dependent.
Different R2DBC drivers expect generated keys when they are in camel case to be quoted or unquoted.
This can now be controlled by implementing `Dialect.renderForGeneratedKeys`.

Closes: #483
Original pull request: #602.
2021-06-11 08:27:15 +02:00
Mark Paluch
a3eb131bc7 Refine conversion directions between boolean and byte using MySQL/MariaDB.
ByteToBooleanConverter is now marked as reading converter and we've added a writing converter with BooleanToByteConverter to ensure proper conversion. Previously, all byte values were converted to boolean resulting in data precision loss.

Closes #589
2021-05-19 10:37:10 +02:00
Mark Paluch
3cefe0bc96 Updated changelog.
See #582
2021-05-14 12:36:38 +02:00
Mark Paluch
f6e2836009 Updated changelog.
See #581
2021-05-14 12:06:41 +02:00
Mark Paluch
552b10cd68 Upgrade to R2DBC Arabba SR10.
Closes #597
2021-05-14 11:22:26 +02:00
Greg L. Turnquist
341778a8b9 Update CI to JDK 16.
See #567.
2021-05-13 15:58:49 -05:00
Mark Paluch
673256199c Refactor query method execution to use R2dbcEntityTemplate.
Repository query methods are now executed through R2dbcEntityTemplate to participate in entity callbacks.
Previously, query methods were executed directly using DatabaseClient which didn't allow for entity callbacks.

Closes #591
2021-05-04 14:45:51 +02:00
Mark Paluch
56ec512515 Polishing.
Introduce assertions for OutboundRow.

Closes #593
2021-05-04 09:03:32 +02:00
Mark Paluch
016aab33f2 Correctly translate absent convertible enum values to String[] using Postgres.
We now correctly obtain the target type for a persistent property that should be converted into an array value prior to constructing Parameter.
Previously, we fell back to the actual type without considering potential converters which left collection-like enum properties without a value with the enum array type that was potentially not supported by the database driver.

Closes #593
2021-05-04 09:03:32 +02:00
Mark Paluch
b140d18485 Remove Jasync from tests.
Jasync does not support MySQL's 8.0 caching_sha2_password and there are no plans to support it.

See #594.
2021-05-03 15:02:57 +02:00
Mark Paluch
66f14f2ea4 Upgrade to MySQL 8.0.
Switch to a newer MySQL version to use TLSv1.2 as newer JRE versions no longer support TLSv1/TLSv1.1.

Closes #594.
2021-05-03 15:02:48 +02:00
Greg L. Turnquist
0f4f6324d9 Authenticate with artifactory.
See #571.
2021-04-22 15:20:04 -05:00
Mark Paluch
7e13e30a87 Polishing.
Add unit test.

See #587.
2021-04-22 11:46:38 +02:00
Grayswan4
c126d6defe PreparedOperationBindableQuery.bindNull(…) should call bindSpec.bindNull(…).
The wrong call is not caught by the compiler due to a bind method that has a signature of (String name, Object value).
Previously, bindNull(…) called bind(…).

Closes #587.
2021-04-22 11:45:38 +02:00
Mark Paluch
f69bc98131 Eagerly check for custom converters when reading rows.
We now eagerly check for the presence of custom converters, before attempting to materialize a nested entity when reading a Row.

Closes #585
2021-04-21 09:21:00 +02:00
Greg L. Turnquist
96776a6d71 Migrate to main branch.
See #571.
2021-04-16 12:42:20 -05:00
Mark Paluch
ab1545fef7 After release cleanups.
See #571
2021-04-14 14:30:14 +02:00
Mark Paluch
52e3aae996 Prepare next development iteration.
See #571
2021-04-14 14:30:11 +02:00
Mark Paluch
ad749c74a8 Release version 1.3 GA (2021.0.0).
See #571
2021-04-14 14:18:47 +02:00
Mark Paluch
ff83d808db Prepare 1.3 GA (2021.0.0).
See #571
2021-04-14 14:18:21 +02:00