Update reference documentation with examples that match @EnableMapRepositories.

Closes #358
Original pull request: #364.
This commit is contained in:
Sebastian Davids
2021-03-18 14:30:17 +01:00
committed by Mark Paluch
parent dab176ab56
commit 9713a59e85

View File

@@ -51,7 +51,7 @@ You can use a different type or preinitialize the adapter with some values, and
[source, java]
----
@Bean
public KeyValueOperations keyValueTemplate() {
public KeyValueOperations mapKeyValueTemplate() {
return new KeyValueTemplate(keyValueAdapter());
}
@@ -61,6 +61,8 @@ public KeyValueAdapter keyValueAdapter() {
}
----
Alternatively, you might use `@EnableMapRepositories(keyValueTemplateRef=…)`.
[[key-value.keyspaces]]
== Keyspaces