![]() |
VOOZH | about |
The CData JDBC Driver for Microsoft OneDrive enables you to use the data transformation components in CloverDX (formerly CloverETL) to work with Microsoft OneDrive as sources. In this article, you will use the JDBC Driver for Microsoft OneDrive to set up a simple transfer into a flat file. The CData JDBC Driver for Microsoft OneDrive enables you to use the data transformation components in CloverDX (formerly CloverETL) to work with Microsoft OneDrive as sources. In this article, you will use the JDBC Driver for Microsoft OneDrive to set up a simple transfer into a flat file.
OneDrive uses the OAuth authentication standard. To authenticate using OAuth, create an app to obtain the OAuthClientId, OAuthClientSecret, and CallbackURL connection properties. See the OAuth section of the Help documentation for an authentication guide.
For assistance in constructing the JDBC URL, use the connection string designer built into the Microsoft OneDrive JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.onedrive.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:onedrive:OAuthClientId=MyApplicationId;OAuthClientSecret=MySecretKey;OAuthCallbackURL=http://localhost:33333;InitiateOAuth=GETANDREFRESH;
SELECT Id, Name FROM Files WHERE Id = 'Jq74mCczmFXk1tC10GB'
Download a free trial of the Microsoft OneDrive Driver to get started:
Download NowLearn more:
👁 Microsoft OneDrive IconRapidly create and deploy powerful Java applications that integrate with Microsoft OneDrive.