Skip to content

Commit 3f0024c

Browse files
committed
Adding Java Migration guide
1 parent aee9c3b commit 3f0024c

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed
195 KB
Loading

articles/cosmos-db/migrate-java-v4-sdk.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
---
2-
title: Use Key Vault to store and access Azure Cosmos DB keys
3-
description: Use Azure Key Vault to store and access Azure Cosmos DB connection string, keys, endpoints.
4-
author: markjbrown
5-
ms.author: mjbrown
2+
title: Migrate your application to use the Java V4 SDK in Azure Cosmos DB (com.azure.cosmos)
3+
description: Learn how to upgrade your existing Java application from using the older Azure Cosmos DB Java SDK to the newer Java SDK 4.0 (com.azure.cosmos package)for Core (SQL) API.
4+
author: anfeldma-ms
5+
ms.author: anfeldma
66
ms.service: cosmos-db
7-
ms.subservice: cosmosdb-sql
8-
ms.devlang: dotnet
97
ms.topic: conceptual
10-
ms.date: 05/23/2019
8+
ms.date: 05/07/2020
119
ms.reviewer: sngun
1210
---
1311

14-
# Migrate your application to use the Java V4 SDK (com.azure.cosmos)
12+
# Migrate your application to use the Java V4 SDK
1513

1614
This article explains how to upgrade your existing Java application that is using older Azure Cosmos DB Java SDK to the newer Java SDK 4.0 for Core (SQL) API. The Java V4 SDK corresponds to the `com.azure.cosmos` package. You can use the instructions in this doc if you are migrating your application from any of the following SDKs:
1715

@@ -463,7 +461,7 @@ container = database.createContainerIfNotExists(containerProperties, 400).block(
463461
```
464462
---
465463

466-
### Item Time-To-Live(TTL)
464+
### Item level Time-To-Live(TTL)
467465

468466
The following code snippet shows the differences in how to create time to live for an item using the 4.0 and 3.x.x Async APIs:
469467

0 commit comments

Comments
 (0)