public Book findBook(ISBN isbn, boolean checkWarehouse, boolean includeUsed)
----
@ -8295,7 +8295,7 @@ this, specify the name of the `KeyGenerator` bean implementation to use:
@@ -8295,7 +8295,7 @@ this, specify the name of the `KeyGenerator` bean implementation to use:
@ -8371,7 +8371,7 @@ only if the argument `name` has a length shorter than 32:
@@ -8371,7 +8371,7 @@ only if the argument `name` has a length shorter than 32:
public Book importBooks(String deposit, Date date)
----
@ -8753,7 +8753,7 @@ that is annotations that can annotate other annotations. To wit, let us replace
@@ -8753,7 +8753,7 @@ that is annotations that can annotate other annotations. To wit, let us replace
----
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
@Cacheable(value="books", key="#isbn")
@Cacheable(cacheNames="books", key="#isbn")
public @interface SlowService {
}
----
@ -8764,7 +8764,7 @@ Above, we have defined our own `SlowService` annotation which itself is annotate
@@ -8764,7 +8764,7 @@ Above, we have defined our own `SlowService` annotation which itself is annotate
[source,java,indent=0]
[subs="verbatim,quotes"]
----
@Cacheable(value="books", key="#isbn")
@Cacheable(cacheNames="books", key="#isbn")
public Book findBook(ISBN isbn, boolean checkWarehouse, boolean includeUsed)
----
@ -8846,7 +8846,7 @@ possible to customize the factory per cache operation:
@@ -8846,7 +8846,7 @@ possible to customize the factory per cache operation:
@ -1295,7 +1295,7 @@ The following code snippet from the PetPortal sample application shows the usage
@@ -1295,7 +1295,7 @@ The following code snippet from the PetPortal sample application shows the usage
Parameters using this annotation are required by default, but you can specify that a
parameter is optional by setting `@RequestParam`'s `required` attribute to `false`