Commit Graph

298 Commits

Author SHA1 Message Date
Mark Paluch
2b024dfd10 #306 - Upgrade to JAsync 1.0.14.
Also enable ignored tests.
2020-02-17 12:57:42 +01:00
Mark Paluch
8828ebb11d #305 - Consistently apply registered converters.
We now apply registered write converters to bindable values that are bound via bind(…) or provided through the Criteria/Update API.
2020-02-17 12:48:47 +01:00
Mark Paluch
6051ab11ae #302 - Add documentation for entity-state detection. 2020-02-14 13:50:31 +01:00
Mark Paluch
2c6bf0b17b #280 - After release cleanups. 2020-02-12 15:04:22 +01:00
Mark Paluch
ebfb4b2be0 #280 - Prepare next development iteration. 2020-02-12 15:04:21 +01:00
Mark Paluch
30519e2885 #280 - Release version 1.1 M3 (Neumann). 2020-02-12 14:47:16 +01:00
Mark Paluch
f3e8f37890 #280 - Prepare 1.1 M3 (Neumann). 2020-02-12 14:46:56 +01:00
Mark Paluch
1313915489 #280 - Updated changelog. 2020-02-12 14:46:53 +01:00
Mark Paluch
f5b9d658d9 #296 - Rename DatabaseClient bean to r2dbcDatabaseClient. 2020-02-12 14:29:06 +01:00
Mark Paluch
1e1888245f #220 - Polishing.
Update what's new section.
2020-02-12 14:25:18 +01:00
Jens Schauder
49a4ff3189 #220 - Polishing.
Formatting.
Fix warnings.
JavaDoc.
Adjusted nullability annotations.

Original pull request: #287.
2020-02-12 14:23:06 +01:00
Mark Paluch
01eccbbbd7 #220 - Refactor StatementMapper.
Use limit/offset instead of Page and accept Expression objects to declare a select list. Use SqlIdentifier in Update, Query, Criteria and fluent API.

Original pull request: #287.
2020-02-12 14:23:03 +01:00
Mark Paluch
64387d1776 #220 - Add Fluent API for EntityOperations.
Original pull request: #287.
2020-02-12 14:23:02 +01:00
Mark Paluch
8313630da8 #220 - Use EntityOperations in SimpleR2dbcRepository.
Original pull request: #287.
2020-02-12 14:23:00 +01:00
Mark Paluch
b5445b8c3f #220 - Introduce R2dbcEntityTemplate.
We now provide a Template API that exposes entity-centric methods. It complements DatabaseClient's simple object mapper methods.

Original pull request: #287.
2020-02-12 14:22:50 +01:00
Mark Paluch
4edc759155 #294 - Upgrade to R2DBC Arabba-SR2. 2020-02-03 09:05:21 +01:00
Mark Paluch
0c1816c8a2 #291 - Adapt to SqlIdentifier changes in Spring Data Relational.
We now use SqlIdentifier to encapsulate the table and column name across the API. The fluent DatabaseClient API accepts the table name and select column projections as SqlIdentifier. The Criteria API remains String-based as names for Query and Update objects may reference either column names or property names.

QueryMapper and UpdateMapper require now a R2DBC dialect object to be constructed. R2dbcMappingContext is configured in a way to not require quoting to preserve backwards compatibility.
2020-01-28 14:00:06 +01:00
Jack Peterson
d9c861e70d #286 - Use correct parent interface PersonRepository example.
disambiguate the readme with the current way to implement the reactive repository
2020-01-24 17:00:08 +01:00
Mark Paluch
8f1fe60d71 #283 - Fix Id property and column name usage in SimpleR2dbcRepository.
We now use the Id property name when using the converter to map property names to column names. In other places, where we don't use the converter, we stick with the Id column name.
2020-01-23 09:18:52 +01:00
Mark Paluch
00cc9120e6 #284 - Do not create PersistentEntity for UUID.
We now no longer create a PersistentEntity for UUID as UUID is a simple type and introspection on Java 9+ causes illegal access warnings.
2020-01-23 08:48:11 +01:00
Mark Paluch
851cbafa5f #260 - Support interface projections with DatabaseClient.as(…).
We now support interface projections when using as(Class) through ProjectionFactory. Simple, type-less queries (execute, select from table) are backed by Map implementations and require the projection type to return a similar type than the expected value. Simple types (such as numeric types) are converted between the backing result and the projection. Conversion of complex types requires a source with type information such as a typed select (select().from(Person.class).as(PersonProjection.class)) to apply registered converters on property-level.
2020-01-22 15:49:38 +01:00
Mark Paluch
d6189856a9 #278 - After release cleanups. 2020-01-17 09:47:50 +01:00
Mark Paluch
414b7cdd8e #278 - Prepare next development iteration. 2020-01-17 09:47:49 +01:00
Mark Paluch
f989628623 #278 - Release version 1.1 M2 (Neumann). 2020-01-17 09:39:03 +01:00
Mark Paluch
d636859582 #278 - Prepare 1.1 M2 (Neumann). 2020-01-17 09:38:43 +01:00
Mark Paluch
ab27302516 #278 - Updated changelog. 2020-01-17 09:38:39 +01:00
Mark Paluch
eecadffa18 #249 - After release cleanups. 2020-01-16 16:11:55 +01:00
Mark Paluch
d085411976 #249 - Prepare next development iteration. 2020-01-16 16:11:54 +01:00
Mark Paluch
f6b928a13a #249 - Release version 1.1 M1 (Neumann). 2020-01-16 16:05:23 +01:00
Mark Paluch
4fb4e1a636 #249 - Prepare 1.1 M1 (Neumann). 2020-01-16 16:05:03 +01:00
Mark Paluch
015c358cee #249 - Updated changelog. 2020-01-16 16:05:01 +01:00
Mark Paluch
5f36404dd5 #277 - Introduce surrogate version property for Spring Data Relational. 2020-01-16 16:03:54 +01:00
Mark Paluch
5951df558c #234 - Enable building with JDK11. 2020-01-14 16:38:00 +01:00
Mark Paluch
6b9d834ba0 #274 - Upgrade to Spring Data Relational 2.0. 2020-01-13 14:55:33 +01:00
Mark Paluch
7ec3d28b17 #270 - Update copyright years to 2020. 2020-01-07 09:12:00 +01:00
sanghoon lee
e6bcc32197 #256 - Fix typo in readme.
modified a typing error
2019-12-12 15:30:59 +01:00
Mark Paluch
2b4244ec64 #252 - Polishing.
Remove unused code.
2019-12-09 10:48:08 +01:00
Mark Paluch
aea4f4e95c #252 - Fix EnumSet conversion.
We now convert properly collections of enum values for read and write.
2019-12-09 10:48:08 +01:00
Mark Paluch
507340ea48 #250 - Throw IllegalArgumentException in StatementMapper if UPDATE contains no assignments.
We now properly throw an IllegalArgumentException. Previously, the update object was attempted to being mapped and this failed as the update object was null.
2019-12-09 09:36:48 +01:00
Mark Paluch
85acdbbd9a #205 - Post release cleanups. 2019-12-06 11:24:35 +01:00
Mark Paluch
e8a9abcf94 #205 - After release cleanups. 2019-12-06 11:18:52 +01:00
Mark Paluch
7f2d8d2c03 #205 - Prepare next development iteration. 2019-12-06 11:18:51 +01:00
Mark Paluch
786c6354b9 #205 - Release version 1.0 GA. 2019-12-06 11:12:48 +01:00
Mark Paluch
d2f48e9466 #205 - Prepare 1.0 GA. 2019-12-06 11:12:46 +01:00
Mark Paluch
10f44c937d #205 - Updated changelog. 2019-12-06 11:12:46 +01:00
Mark Paluch
a1a217a34c #205 - Polishing.
Tweak javadoc and reference documentation.
2019-12-06 11:12:16 +01:00
Mark Paluch
f2a76fa74f #139 - Consider value type in Dialect-specific array type conversion.
We now inspect the value type of a SettableValue before attempting to convert a value into an array type. This check allows applying custom conversions to map objects to a simple type and bypassing the array conversion afterwards.

Previously, we just relied on the property type without checking whether the value qualifies for array type conversion.
2019-12-06 10:36:04 +01:00
Mark Paluch
96706cf7ed #205 - Remove sonatype snapshot repository.
No longer required.
2019-12-06 09:53:49 +01:00
Mark Paluch
d9e425ae17 #195 - Add test for Update with multiple assignments. 2019-12-06 09:41:18 +01:00
Mark Paluch
4558879f50 #245 - Upgrade to Spring Data Moore SR3. 2019-12-05 08:46:31 +01:00