#442 - Fix method name in reference docs.

This commit is contained in:
hirakida
2020-09-05 17:06:46 +09:00
committed by Mark Paluch
parent 43d5d9d827
commit 468ade2ac2

View File

@@ -368,9 +368,9 @@ Person other = template.select(Person.class)
.first().block(); <2>
daenerys.setLastname("Targaryen");
template.save(daenerys); <3>
template.update(daenerys); <3>
template.save(other).subscribe(); // emits OptimisticLockingFailureException <4>
template.update(other).subscribe(); // emits OptimisticLockingFailureException <4>
----
<1> Initially insert row. `version` is set to `0`.
<2> Load the just inserted row. `version` is still `0`.