![]() |
VOOZH | about |
The CData JDBC Driver for Azure DevOps enables you to access Azure DevOps as a JDBC data source, providing integration with rapid development tools in IDEs. This article shows how to use the data source configuration wizard to connect to Azure DevOps data in IntelliJ.
Follow the steps below to add the driver JAR and define connection properties required to connect to Azure DevOps data.
In the Data Source Properties dialog that appears, the following properties are required:
Database URL: Enter the connection URL in the JDBC URL property. The URL must start with jdbc:azuredevops: and includes connection properties separated with semicolons.
You can connect to your Azure DevOps account by providing the Organization and PersonalAccessToken.
To generate one, log in to your Azure DevOps Organization account and navigate to Profile -> Personal Access Tokens -> New Token. The generated token will be displayed.
If you wish to authenticate to Azure DevOps using OAuth refer to the online Help documentation for an authentication guide.
For assistance in constructing the JDBC URL, use the connection string designer built into the Azure DevOps JDBC Driver. Either double-click the JAR file or execute the jar file from the command-line.
java -jar cdata.jdbc.azuredevops.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 the following:
jdbc:azuredevops:AuthScheme=Basic;Organization=MyAzureDevOpsOrganization;ProjectId=MyProjectId;PersonalAccessToken=MyPAT;InitiateOAuth=GETANDREFRESH;
To discover schema information, right-click the data source you just created and click Refresh Tables. To query a table, right-click it and then click Open Tables Editor.
👁 The results of a query in IntelliJ. (Salesforce is shown.)Download a free trial of the Azure DevOps Driver to get started:
Download NowLearn more:
👁 Azure DevOps IconRapidly create and deploy powerful Java applications that integrate with Azure DevOps.