Commit Graph

615 Commits

Author SHA1 Message Date
Mark Paluch
acfd6d2d0b Prepare 1.3.5 (2021.0.5).
See #637
2021-09-17 09:17:29 +02:00
Christoph Strobl
978fff6af5 Change visibility of PersistentEntitiesFactoryBean.
Also fix a javadoc parameter name mismatch along the way.

Closes: #651
2021-09-16 07:59:48 +02:00
Mark Paluch
383cc9a372 Upgrade to Maven Wrapper 3.8.2.
See #647
2021-09-10 15:39:34 +02:00
Mark Paluch
7574d20ad7 Fix tests after enabling parameter names.
Closes #644
2021-09-08 11:00:50 +02:00
Jens Schauder
c33fa0367f After release cleanups.
See #624
2021-08-12 11:37:31 +02:00
Jens Schauder
0a7095872f Prepare next development iteration.
See #624
2021-08-12 11:37:29 +02:00
Jens Schauder
04e98bc316 Release version 1.3.4 (2021.0.4).
See #624
2021-08-12 11:22:50 +02:00
Jens Schauder
bbb0571fab Prepare 1.3.4 (2021.0.4).
See #624
2021-08-12 11:22:26 +02:00
Mark Paluch
607b220803 Remove changelog shipped with the binaries.
Closes #631
2021-07-22 09:08:58 +02:00
Mark Paluch
7d18946893 Polishing.
Improve default converter setup by considering R2dbcCustomConversions.STORE_CONVERSIONS to register built-in converters in default configurations.

See #612
2021-07-22 09:08:02 +02:00
Mark Paluch
e5aeae9033 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:08:02 +02:00
Mark Paluch
69f1f1e530 Polishing.
Fix test.

See #628
2021-07-21 09:57:03 +02:00
Mark Paluch
6c1459adf6 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:32 +02:00
Mark Paluch
d622065ee6 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:18:56 +02:00
Jens Schauder
cafab47116 After release cleanups.
See #611
2021-07-16 11:51:05 +02:00
Jens Schauder
46fbb32d31 Prepare next development iteration.
See #611
2021-07-16 11:51:03 +02:00
Jens Schauder
c448459182 Release version 1.3.3 (2021.0.3).
See #611
2021-07-16 11:35:22 +02:00
Jens Schauder
1ea5cbd509 Prepare 1.3.3 (2021.0.3).
See #611
2021-07-16 11:34:27 +02:00
Jens Schauder
c7381326fc Updated changelog.
See #611
2021-07-16 11:34:22 +02:00
Jay Bryant
cabab1fc8c Editing.
See #616
Original pull request: #617.
2021-07-15 14:14:08 +02:00
Jens Schauder
dd987dd8dc Improve documentation about name handling.
Closes #616
Original pull request: #617.
2021-07-15 14:14:08 +02:00
Mark Paluch
9614dc48a8 After release cleanups.
See #599
2021-06-22 16:05:22 +02:00
Mark Paluch
3930820220 Prepare next development iteration.
See #599
2021-06-22 16:05:19 +02:00
Mark Paluch
0f0411285d Release version 1.3.2 (2021.0.2).
See #599
2021-06-22 15:52:27 +02:00
Mark Paluch
1d31263a8a Prepare 1.3.2 (2021.0.2).
See #599
2021-06-22 15:51:38 +02:00
Mark Paluch
7716e329ac Updated changelog.
See #599
2021-06-22 15:51:30 +02:00
Mark Paluch
33d2b76e6a Updated changelog.
See #598
2021-06-22 15:29:50 +02:00
Mark Paluch
e93a84fa24 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:22:03 +02:00
Mark Paluch
a9de60f164 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:43:08 +02:00
Jens Schauder
efe2514b2e 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:41 +02:00
Mark Paluch
5a20e9d019 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:27 +02:00
Mark Paluch
cde3d2a026 After release cleanups.
See #582
2021-05-14 12:34:20 +02:00
Mark Paluch
1560835547 Prepare next development iteration.
See #582
2021-05-14 12:34:16 +02:00
Mark Paluch
e389bb5a5a Release version 1.3.1 (2021.0.1).
See #582
2021-05-14 12:23:55 +02:00
Mark Paluch
575468f266 Prepare 1.3.1 (2021.0.1).
See #582
2021-05-14 12:23:21 +02:00
Mark Paluch
260abacea8 Updated changelog.
See #582
2021-05-14 12:23:17 +02:00
Mark Paluch
39c569adcb Updated changelog.
See #581
2021-05-14 12:06:39 +02:00
Mark Paluch
0d3f02e21f Upgrade to R2DBC Arabba SR10.
Closes #597
2021-05-14 11:22:33 +02:00
Mark Paluch
196fa4b2cd Polishing.
Introduce assertions for OutboundRow.

Closes #593
2021-05-04 09:00:26 +02:00
Mark Paluch
b08835ea97 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:00:25 +02:00
Mark Paluch
c4c823da6e 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:05:29 +02:00
Mark Paluch
285758060b 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:05:29 +02:00
Greg L. Turnquist
0dc5ccfc24 Authenticate with artifactory.
See #571.
2021-04-22 15:22:40 -05:00
Mark Paluch
cdf49a0760 Polishing.
Add unit test.

See #587.
2021-04-22 11:46:47 +02:00
Grayswan4
30de95efe5 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:46:47 +02:00
Mark Paluch
21589a6893 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:04 +02:00
Mark Paluch
69584dfa0b After release cleanups.
See #571
2021-04-14 14:30:40 +02:00
Mark Paluch
5426b2c2d3 Prepare next development iteration.
See #571
2021-04-14 14:30:36 +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