Skip to content

Commit bed106c

Browse files
Added samples link for java SDK (Azure#38142)
* Added samples link for java SDK * Updated header with Azure Cosmos DB information
1 parent d2012e3 commit bed106c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

sdk/spring/azure-spring-data-cosmos/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -622,9 +622,10 @@ private List<User> getUsersByLastName(String lastName, int pageSize) {
622622
return content;
623623
}
624624
```
625-
### Using Azure Cosmos Client through Spring Data Cosmos
626-
- Azure-spring-data-cosmos supports using Azure Cosmos Client through Spring Data Cosmos.
627-
- Users can get `CosmosClient` or `CosmosAsyncClient` bean through `ApplicationContext` and execute any operations supported by Azure Cosmos Client.
625+
### Using Azure Cosmos DB Java SDK through Spring Data Cosmos
626+
- Azure-spring-data-cosmos supports using Azure Cosmos DB Java SDK through Spring Data Cosmos.
627+
- Users can get `CosmosClient` or `CosmosAsyncClient` bean through `ApplicationContext` and execute any operations supported by Azure Cosmos DB Java SDK.
628+
- Refer to [Azure Cosmos DB Java SDK samples][azure_cosmos_db_java_sdk_samples] for more information on how to execute operations.
628629
- Example:
629630
```java readme-sample-CosmosClientBeanCodeSnippet
630631
@SpringBootApplication
@@ -1129,5 +1130,6 @@ or contact [opencode@microsoft.com][coc_contact] with any additional questions o
11291130
[autoscale-throughput]: https://docs.microsoft.com/azure/cosmos-db/provision-throughput-autoscale
11301131
[spring_version_mapping]: https://aka.ms/spring/versions
11311132
[spring_boot_supported_versions]: https://github.com/spring-projects/spring-boot/wiki/Supported-Versions
1133+
[azure_cosmos_db_java_sdk_samples]: https://github.com/Azure-Samples/azure-cosmos-java-sql-api-samples
11321134

11331135
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fcosmos%2F%2Fazure-spring-data-cosmos%2FREADME.png)

0 commit comments

Comments
 (0)