![]() |
VOOZH | about |
The CData JDBC Driver for Cosmos DB enables you to use the data transformation components in CloverDX (formerly CloverETL) to work with Cosmos DB as sources and destinations. In this article, you will use the JDBC Driver for Cosmos DB to set up a simple transfer into a flat file. The CData JDBC Driver for Cosmos DB enables you to use the data transformation components in CloverDX (formerly CloverETL) to work with Cosmos DB as sources and destinations. In this article, you will use the JDBC Driver for Cosmos DB to set up a simple transfer into a flat file.
To obtain the connection string needed to connect to a Cosmos DB account using the SQL API, log in to the Azure Portal, select Azure Cosmos DB, and select your account. In the Settings section, click Connection String and set the following values:
For assistance in constructing the JDBC URL, use the connection string designer built into the Cosmos DB JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.cosmosdb.jar
Fill in the connection properties and copy the connection string to the clipboard.
👁 Using the built-in connection string designer to generate a JDBC URL (Salesforce is shown.)A typical JDBC URL is below:
jdbc:cosmosdb:AccountEndpoint=myAccountEndpoint;AccountKey=myAccountKey;
SELECT City, CompanyName FROM Customers
Download a free trial of the Cosmos DB Driver to get started:
Download NowLearn more:
👁 Cosmos DB IconRapidly create and deploy powerful Java applications that integrate with Cosmos DB document databases.