Establishing a Connection
Creating a JDBC Data Source
You can create a JDBC data source to connect from your Java application, based on CData JDBC Driver for Quickbase.Follow these steps:
- Add the driver JAR file to the classpath. The JAR file is located in the installation directory's lib subfolder. Ensure that the .lic file is located in the same folder as the JAR file.
- Provide the driver class. For example:
cdata.jdbc.quickbase.QuickBaseDriver
- Provide the JDBC URL. For example:
jdbc:quickbase:[email protected];Password=test_1234;Domain=test.quickbase.com;ApplicationToken='bwkxrb5da2wn57bzfh9xn24';
Or, if there is a conflict in your application between drivers using the same URL format, use this form to ensure that you are using the CData driver:
jdbc:cdata:quickbase:[email protected];Password=test_1234;Domain=test.quickbase.com;ApplicationToken='bwkxrb5da2wn57bzfh9xn24';
Ensure that the URL starts with either jdbc:quickbase: or jdbc:cdata:quickbase:. The URL can include any of the connection properties in name-value pairs separated with semicolons.
Authenticating to Quickbase
User Authentication
Set the AuthScheme to Basic to authenticate with this method.
To authenthenticate with user credentials, specify the following connection properties:
- Set the Quickbase User and Password.
- If your application requires an ApplicationToken, you must provide it otherwise an error will be thrown. You can find the ApplicationToken under MyAppName > Settings > App properties > Advanced settings > Security options > Require Application Tokens > Manage Application Token.
User Token
Set the AuthScheme to Token to authenticate with this method.
To authenthenticate with a user token, specify the following connection properties: