skip to main content
Using the Driver : Connecting from an application : Connecting using the JDBC Driver Manager : Passing the connection URL
  

Try DataDirect Drivers Now
Passing the connection URL
After setting the CLASSPATH, the required connection information needs to be passed in the form of a connection URL.

Connection URL Syntax

The connection URL takes the following form:
jdbc:datadirect:jira:servername;User=username;Password=password_token;
[property=value[;...]];
where:
servername
specifies the URL of the Jira service to which you want to issue requests. For example, http://mycompany.atlassian.net.
user
specifies the user name that is used to connect to the Jira service.
password_token
specifies the password or API token used to connect to your Jira service.
property=value
specifies connection property settings. Multiple properties are separated by a semi-colon.

Connection URL Example

Connection conn = DriverManager.getConnection
("jdbc:datadirect:jira:http://mycompany.atlassian.net;User=jsmith;Password=secret;");