JDBC Driver for Act! CRM

Build 21.0.8137

Establishing a Connection

Creating a JDBC Data Source

You can create a JDBC data source to connect from your Java application. Creating a JDBC data source based on the CData JDBC Driver for Act! CRM consists of three basic steps:

  • Add the driver JAR file to the classpath. The JAR file is located in the lib subfolder of the installation directory. Note that the .lic file must be located in the same folder as the JAR file.
  • Provide the driver class. For example:
    cdata.jdbc.actcrm.ActCRMDriver
  • Provide the JDBC URL. For example:
    jdbc:actcrm:URL=https://myActCRMserver.com;User=myUser;Password=myPassword;ActDatabase=MyDB;
    
    or
    
    jdbc:cdata:actcrm:URL=https://myActCRMserver.com;User=myUser;Password=myPassword;ActDatabase=MyDB;

    The second format above can be used whenever there is a conflict in your application between drivers using the same URL format to ensure you are using the CData driver. The URL must start with either "jdbc:actcrm:" or "jdbc:cdata:actcrm:" and can include any of the connection properties in name-value pairs separated with semicolons.

Authenticating to Act! CRM

The User and Password properties, under the Authentication section, must be set to valid Act! CRM user credentials.

Connecting to Act! Premium

In addition to the authentication values, the URL to Act! CRM is also required; for example: http://serverName/.

Additionally, you must specify the ActDatabase you will connect to. This is found by going to the About Act! Premium menu of your account, at the top right of the page, in the ? menu. Use the Database Name in the window that appears.

Connecting to Act! Premium Cloud

If you want to connect to your Act! Premium Cloud account, you also need to specify the ActCloudName property. This property is found in the URL address of the Cloud account; for example https://eup1-iis-04.eu.hosted.act.com/ActCloudName/.

Caching Metadata

Note that retrieving ActCRM metadata can be expensive. It is advised that you set the CacheMetadata property to store the metadata locally.

Copyright (c) 2022 CData Software, Inc. - All rights reserved.
Build 21.0.8137