#135 - Fixed some typos in readmes.
This commit is contained in:
committed by
Oliver Gierke
parent
d9dfb81e12
commit
5a9b785499
@@ -32,7 +32,7 @@ We have separate folders for the samples of individual modules:
|
||||
|
||||
## Spring Data Redis
|
||||
|
||||
* `example` - Example for basic Sprign Data Redis setup.
|
||||
* `example` - Example for basic Spring Data Redis setup.
|
||||
* `cluster-sentinel` - Example for Redis cluster and Sentinel support.
|
||||
|
||||
## Spring Data Elasticsearch
|
||||
|
||||
@@ -41,11 +41,11 @@ try (Stream<Customer> customers = repository.streamAllCustomers()) {
|
||||
Note how the returned `Stream` has to be used in a try-with-resources clause as the underlying resources have to be closed once we finished iterating over the result.
|
||||
|
||||
|
||||
## Support for JDK 8' `CompletableFuture` in `@Asnyc` repository methods
|
||||
## Support for JDK 8' `CompletableFuture` in `@Async` repository methods
|
||||
|
||||
JPA repositories can now use `CompletableFuture` as return type for query methods for async execution of the query with support for fluent processing.
|
||||
|
||||
Note that: Support for `CompletableFuture` in combination with `@Asnyc` is available in Spring Framework 4.2.x.
|
||||
Note that: Support for `CompletableFuture` in combination with `@Async` is available in Spring Framework 4.2.x.
|
||||
|
||||
```java
|
||||
interface CustomerRepository extends Repository<Customer, Long> {
|
||||
|
||||
@@ -15,4 +15,4 @@ If you run `ApplicationConfigurationTest` you should see the following output:
|
||||
… DEBUG … - Spring Data MongoDB - Registering repository: orderRepository - Interface: example.springdata.multistore.shop.OrderRepository - Factory: org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean
|
||||
```
|
||||
|
||||
As you can see, Spring Data detects the fact that the application runs on multiple Spring Data modules. This triggers the strict configuration mode in which only repository interfaces will be detected that can be uniquely can be assigned to the module currently scanning. By default this is assignment is detected by inspecting the managed domain type for store specific annotations (e.g. `@Entity` for JPA or `@Document` for MongoDB).
|
||||
As you can see, Spring Data detects the fact that the application runs on multiple Spring Data modules. This triggers the strict configuration mode in which only repository interfaces will be detected that can be uniquely assigned to the module currently scanned. By default this assignment is detected by inspecting the managed domain type for store specific annotations (e.g. `@Entity` for JPA or `@Document` for MongoDB).
|
||||
|
||||
Reference in New Issue
Block a user