#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 f5d2504100
commit f863914b13

View File

@@ -364,9 +364,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`.