#90 - Polishing.

Original pull request: #90.
This commit is contained in:
Jens Schauder
2019-04-17 12:59:15 +02:00
parent cca38b4480
commit 2f5d11bd56
3 changed files with 7 additions and 11 deletions

View File

@@ -88,10 +88,7 @@ public class SimpleR2dbcRepository<T, ID> implements ReactiveCrudRepository<T, I
GenericExecuteSpec exec = databaseClient.execute().sql(update);
BindSpecAdapter<GenericExecuteSpec> wrapper = BindSpecAdapter.create(exec);
columns.forEach((k, v) -> {
update.bind(wrapper, k, v);
});
columns.forEach((k, v) -> update.bind(wrapper, k, v));
update.bindId(wrapper, id);
return wrapper.getBoundOperation().as(entity.getJavaType()) //