You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cosmos-db/nosql/performance-tips-query-sdk.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -248,7 +248,7 @@ To execute a query, a query plan needs to be built. This in general represents a
248
248
249
249
### Use Query Plan caching
250
250
251
-
The query plan, for a query scoped to a single partition, is cached on the client. This eliminates the need to make a call to the gateway to retrieve the query plan after the first call. The key for the cached query plan is the SQL query string. You need to **make sure the query is [parametrized](query/parameterized-queries.md)**. If not, the query plan cache lookup will often be a cache miss as the query string is unlikely to be identical across calls. Query plan caching is **enabled by default for Java SDK version 4.20.0 and above** and **for Spring Datan Azure Cosmos DB SDK version 3.13.0 and above**.
251
+
The query plan, for a query scoped to a single partition, is cached on the client. This eliminates the need to make a call to the gateway to retrieve the query plan after the first call. The key for the cached query plan is the SQL query string. You need to **make sure the query is [parametrized](query/parameterized-queries.md)**. If not, the query plan cache lookup will often be a cache miss as the query string is unlikely to be identical across calls. Query plan caching is **enabled by default for Java SDK version 4.20.0 and above** and **for Spring Data Azure Cosmos DB SDK version 3.13.0 and above**.
In this quickstart, you create and manage an Azure Cosmos DB for NoSQL account from the Azure portal, and by using a Spring Datan Azure Cosmos DB v3 app cloned from GitHub. First, you create an Azure Cosmos DB for NoSQL account using the Azure portal or without a credit card or an Azure subscription, you can set up a free [Try Azure Cosmos DB account](https://aka.ms/trycosmosdb), then create a Spring Boot app using the Spring Datan Azure Cosmos DB v3 connector, and then add resources to your Azure Cosmos DB account by using the Spring Boot application. Azure Cosmos DB is a multi-model database service that lets you quickly create and query document, table, key-value, and graph databases with global distribution and horizontal scale capabilities.
29
+
In this quickstart, you create and manage an Azure Cosmos DB for NoSQL account from the Azure portal, and by using a Spring Data Azure Cosmos DB v3 app cloned from GitHub. First, you create an Azure Cosmos DB for NoSQL account using the Azure portal or without a credit card or an Azure subscription, you can set up a free [Try Azure Cosmos DB account](https://aka.ms/trycosmosdb), then create a Spring Boot app using the Spring Data Azure Cosmos DB v3 connector, and then add resources to your Azure Cosmos DB account by using the Spring Boot application. Azure Cosmos DB is a multi-model database service that lets you quickly create and query document, table, key-value, and graph databases with global distribution and horizontal scale capabilities.
30
30
31
31
> [!IMPORTANT]
32
-
> These release notes are for version 3 of Spring Datan Azure Cosmos DB. You can find [release notes for version 2 here](sdk-java-spring-data-v2.md).
32
+
> These release notes are for version 3 of Spring Data Azure Cosmos DB. You can find [release notes for version 2 here](sdk-java-spring-data-v2.md).
33
33
>
34
-
> Spring Datan Azure Cosmos DB supports only the API for NoSQL.
34
+
> Spring Data Azure Cosmos DB supports only the API for NoSQL.
35
35
>
36
36
> See these articles for information about Spring Data on other Azure Cosmos DB APIs:
37
37
> *[Spring Data for Apache Cassandra with Azure Cosmos DB](/azure/developer/java/spring-framework/configure-spring-data-apache-cassandra-with-cosmos-db)
@@ -110,7 +110,7 @@ Once you create an Azure Cosmos DB account, database, and container, just fill-i
110
110
111
111
### Java source
112
112
113
-
The Spring Data value-add also comes from its simple, clean, standardized and platform-independent interface for operating on datastores. Building on the Spring Data GitHub sample linked above, below are CRUD and query samples for manipulating Azure Cosmos DB documents with Spring Datan Azure Cosmos DB.
113
+
The Spring Data value-add also comes from its simple, clean, standardized and platform-independent interface for operating on datastores. Building on the Spring Data GitHub sample linked above, below are CRUD and query samples for manipulating Azure Cosmos DB documents with Spring Data Azure Cosmos DB.
114
114
115
115
* Item creation and updates by using the `save` method.
116
116
@@ -138,13 +138,13 @@ Now go back to the Azure portal to get your connection string information and la
138
138
cd azure-spring-data-cosmos-java-sql-api-getting-started/azure-spring-data-cosmos-java-getting-started/
139
139
```
140
140
141
-
2. In the git terminal window, use the following command to install the required Spring Datan Azure Cosmos DB packages.
141
+
2. In the git terminal window, use the following command to install the required Spring Data Azure Cosmos DB packages.
142
142
143
143
```bash
144
144
mvn clean package
145
145
```
146
146
147
-
3. In the git terminal window, use the following command to start the Spring Datan Azure Cosmos DB application:
147
+
3. In the git terminal window, use the following command to start the Spring Data Azure Cosmos DB application:
# Azure Cosmos DB for NoSQL: Spring Datan Azure Cosmos DB v3 examples
13
+
# Azure Cosmos DB for NoSQL: Spring Data Azure Cosmos DB v3 examples
14
14
[!INCLUDE[NoSQL](../includes/appliesto-nosql.md)]
15
15
16
16
> [!div class="op_single_selector"]
@@ -24,9 +24,9 @@ ms.reviewer: mjbrown
24
24
>
25
25
26
26
> [!IMPORTANT]
27
-
> These release notes are for version 3 of Spring Datan Azure Cosmos DB. You can find [release notes for version 2 here](sdk-java-spring-data-v2.md).
27
+
> These release notes are for version 3 of Spring Data Azure Cosmos DB. You can find [release notes for version 2 here](sdk-java-spring-data-v2.md).
28
28
>
29
-
> Spring Datan Azure Cosmos DB supports only the API for NoSQL.
29
+
> Spring Data Azure Cosmos DB supports only the API for NoSQL.
30
30
>
31
31
> See these articles for information about Spring Data on other Azure Cosmos DB APIs:
32
32
> *[Spring Data for Apache Cassandra with Azure Cosmos DB](/azure/developer/java/spring-framework/configure-spring-data-apache-cassandra-with-cosmos-db)
@@ -43,17 +43,17 @@ ms.reviewer: mjbrown
43
43
44
44
The latest sample applications that perform CRUD operations and other common operations on Azure Cosmos DB resources are included in the [azure-spring-data-cosmos-java-sql-api-samples](https://github.com/Azure-Samples/azure-spring-data-cosmos-java-sql-api-samples) GitHub repository. This article provides:
45
45
46
-
* Links to the tasks in each of the example Spring Datan Azure Cosmos DB project files.
46
+
* Links to the tasks in each of the example Spring Data Azure Cosmos DB project files.
47
47
* Links to the related API reference content.
48
48
49
49
**Prerequisites**
50
50
51
51
You need the following to run this sample application:
52
52
53
53
* Java Development Kit 8
54
-
* Spring Datan Azure Cosmos DB v3
54
+
* Spring Data Azure Cosmos DB v3
55
55
56
-
You can optionally use Maven to get the latest Spring Datan Azure Cosmos DB v3 binaries for use in your project. Maven automatically adds any necessary dependencies. Otherwise, you can directly download the dependencies listed in the **pom.xml** file and add them to your build path.
56
+
You can optionally use Maven to get the latest Spring Data Azure Cosmos DB v3 binaries for use in your project. Maven automatically adds any necessary dependencies. Otherwise, you can directly download the dependencies listed in the **pom.xml** file and add them to your build path.
Copy file name to clipboardExpand all lines: articles/cosmos-db/nosql/sdk-java-spring-data-v2.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: 'Spring Datan Azure Cosmos DB v2 for API for NoSQL release notes and resources'
3
-
description: Learn about the Spring Datan Azure Cosmos DB v2 for API for NoSQL, including release dates, retirement dates, and changes made between each version of the Azure Cosmos DB SQL Async Java SDK.
2
+
title: 'Spring Data Azure Cosmos DB v2 for API for NoSQL release notes and resources'
3
+
description: Learn about the Spring Data Azure Cosmos DB v2 for API for NoSQL, including release dates, retirement dates, and changes made between each version of the Azure Cosmos DB SQL Async Java SDK.
4
4
author: seesharprun
5
5
ms.service: cosmos-db
6
6
ms.subservice: nosql
@@ -12,34 +12,34 @@ ms.reviewer: mjbrown
12
12
ms.custom: devx-track-java, ignite-2022
13
13
---
14
14
15
-
# Spring Datan Azure Cosmos DB v2 for API for NoSQL (legacy): Release notes and resources
15
+
# Spring Data Azure Cosmos DB v2 for API for NoSQL (legacy): Release notes and resources
Spring Datan Azure Cosmos DB version 2 for NoSQL allows developers to use Azure Cosmos DB in Spring applications. Spring Datan Azure Cosmos DB exposes the Spring Data interface for manipulating databases and collections, working with documents, and issuing queries. Both Sync and Async (Reactive) APIs are supported in the same Maven artifact.
20
+
Spring Data Azure Cosmos DB version 2 for NoSQL allows developers to use Azure Cosmos DB in Spring applications. Spring Data Azure Cosmos DB exposes the Spring Data interface for manipulating databases and collections, working with documents, and issuing queries. Both Sync and Async (Reactive) APIs are supported in the same Maven artifact.
21
21
22
22
> [!WARNING]
23
-
> This version of Spring Datan Azure Cosmos DB SDK depends on a retired version of Azure Cosmos DB Java SDK. This Spring Datan Azure Cosmos DB SDK will be announced as retiring in the near future! This is *not* the latest Azure Spring Datan Azure Cosmos DB SDK for Azure Cosmos DB and is outdated. Because of performance issues and instability in Azure Spring Datan Azure Cosmos DB SDK V2, we highly recommend to use [Azure Spring Datan Azure Cosmos DB v3](sdk-java-spring-data-v3.md) for your project. To upgrade, follow the instructions in the [Migrate to Azure Cosmos DB Java SDK v4](migrate-java-v4-sdk.md) guide to understand the difference in the underlying Java SDK V4.
23
+
> This version of Spring Data Azure Cosmos DB SDK depends on a retired version of Azure Cosmos DB Java SDK. This Spring Data Azure Cosmos DB SDK will be announced as retiring in the near future! This is *not* the latest Azure Spring Data Azure Cosmos DB SDK for Azure Cosmos DB and is outdated. Because of performance issues and instability in Azure Spring Data Azure Cosmos DB SDK V2, we highly recommend to use [Azure Spring Data Azure Cosmos DB v3](sdk-java-spring-data-v3.md) for your project. To upgrade, follow the instructions in the [Migrate to Azure Cosmos DB Java SDK v4](migrate-java-v4-sdk.md) guide to understand the difference in the underlying Java SDK V4.
24
24
>
25
25
26
26
The [Spring Framework](https://spring.io/projects/spring-framework) is a programming and configuration model that streamlines Java application development. Spring streamlines the "plumbing" of applications by using dependency injection. Many developers like Spring because it makes building and testing applications more straightforward. [Spring Boot](https://spring.io/projects/spring-boot) extends this handling of the plumbing with an eye toward web application and microservices development. [Spring Data](https://spring.io/projects/spring-data) is a programming model for accessing datastores like Azure Cosmos DB from the context of a Spring or Spring Boot application.
27
27
28
-
You can use Spring Datan Azure Cosmos DB in your applications hosted in [Azure Spring Apps](https://azure.microsoft.com/services/spring-apps/).
28
+
You can use Spring Data Azure Cosmos DB in your applications hosted in [Azure Spring Apps](https://azure.microsoft.com/services/spring-apps/).
29
29
30
30
> [!IMPORTANT]
31
-
> These release notes are for version 2 of Spring Datan Azure Cosmos DB. You can find [release notes for version 3 here](sdk-java-spring-data-v3.md).
31
+
> These release notes are for version 2 of Spring Data Azure Cosmos DB. You can find [release notes for version 3 here](sdk-java-spring-data-v3.md).
32
32
>
33
-
> Spring Datan Azure Cosmos DB supports only the API for NoSQL.
33
+
> Spring Data Azure Cosmos DB supports only the API for NoSQL.
34
34
>
35
35
> See the following articles for information about Spring Data on other Azure Cosmos DB APIs:
36
36
> *[Spring Data for Apache Cassandra with Azure Cosmos DB](/azure/developer/java/spring-framework/configure-spring-data-apache-cassandra-with-cosmos-db)
37
37
> *[Spring Data MongoDB with Azure Cosmos DB](/azure/developer/java/spring-framework/configure-spring-data-mongodb-with-cosmos-db)
38
38
>
39
39
> Want to get going fast?
40
40
> 1. Install the [minimum supported Java runtime, JDK 8](/java/azure/jdk/), so you can use the SDK.
41
-
> 2. Create a Spring Datan Azure Cosmos DB app by using the [starter](/azure/developer/java/spring-framework/configure-spring-boot-starter-java-app-with-cosmos-db). It's easy!
42
-
> 3. Work through the [Spring Datan Azure Cosmos DB developer's guide](/azure/developer/java/spring-framework/how-to-guides-spring-data-cosmosdb), which walks through basic Azure Cosmos DB requests.
41
+
> 2. Create a Spring Data Azure Cosmos DB app by using the [starter](/azure/developer/java/spring-framework/configure-spring-boot-starter-java-app-with-cosmos-db). It's easy!
42
+
> 3. Work through the [Spring Data Azure Cosmos DB developer's guide](/azure/developer/java/spring-framework/how-to-guides-spring-data-cosmosdb), which walks through basic Azure Cosmos DB requests.
43
43
>
44
44
> You can spin up Spring Boot Starter apps fast by using [Spring Initializr](https://start.spring.io/)!
45
45
>
@@ -49,11 +49,11 @@ You can use Spring Datan Azure Cosmos DB in your applications hosted in [Azure S
|**API documentation**|[Spring Datan Azure Cosmos DB reference documentation]()|
53
-
|**Contribute to the SDK**|[Spring Datan Azure Cosmos DB repo on GitHub](https://github.com/microsoft/spring-data-cosmosdb)|
52
+
|**API documentation**|[Spring Data Azure Cosmos DB reference documentation]()|
53
+
|**Contribute to the SDK**|[Spring Data Azure Cosmos DB repo on GitHub](https://github.com/microsoft/spring-data-cosmosdb)|
54
54
|**Spring Boot Starter**|[Azure Cosmos DB Spring Boot Starter client library for Java](https://github.com/MicrosoftDocs/azure-dev-docs/blob/master/articles/java/spring-framework/configure-spring-boot-starter-java-app-with-cosmos-db.md)|
55
55
|**Spring TODO app sample with Azure Cosmos DB**|[End-to-end Java Experience in App Service Linux (Part 2)](https://github.com/Azure-Samples/e2e-java-experience-in-app-service-linux-part-2)|
56
-
|**Developer's guide**|[Spring Datan Azure Cosmos DB developer's guide](/azure/developer/java/spring-framework/how-to-guides-spring-data-cosmosdb)|
56
+
|**Developer's guide**|[Spring Data Azure Cosmos DB developer's guide](/azure/developer/java/spring-framework/how-to-guides-spring-data-cosmosdb)|
57
57
|**Using Starter**|[How to use Spring Boot Starter with the Azure Cosmos DB for NoSQL](/azure/developer/java/spring-framework/configure-spring-boot-starter-java-app-with-cosmos-db) <br> [GitHub repo for Azure Cosmos DB Spring Boot Starter](https://github.com/MicrosoftDocs/azure-dev-docs/blob/master/articles/java/spring-framework/configure-spring-boot-starter-java-app-with-cosmos-db.md)|
58
58
|**Sample with Azure App Service**|[How to use Spring and Azure Cosmos DB with App Service on Linux](/azure/developer/java/spring-framework/configure-spring-app-with-cosmos-db-on-app-service-linux) <br> [TODO app sample](https://github.com/Azure-Samples/e2e-java-experience-in-app-service-linux-part-2.git)|
0 commit comments