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 715cbcd493
commit 01b2e6157d

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