製品をチェック

無償トライアル:

無償トライアルへ

製品の情報と無償トライアルへ:

ADP JDBC Driver

ADP 連携のパワフルなJava アプリケーションを素早く作成して配布。

データ連携でお困りですか?

お問い合わせ

IntelliJ からADP データに連携


IntelliJ のウィザードを使用してADP への接続を統合します。


adp ロゴ画像
jdbc ロゴ画像

JDBC

IntelliJ ロゴ画像

CData JDBC Driver for ADP を使用することで、JDBC データソースとしてADP にアクセスでき、IDE の迅速な開発ツールとの統合が可能になります。この記事では、データソース構成ウィザードを使用してIntelliJ のADP に接続する方法を示します。

JBDC Data Source for ADP の作成

以下のステップに従ってドライバーJAR を追加し、ADP への接続に必要な接続プロパティを定義します。

  1. [Data Sources]ウィンドウで右クリックし、[Add Data Source]->[DB Data Source]と進みます。
  2. 表示される[Data Source Properties]ダイアログでは、次のプロパティが必要です。

    • JDBC Driver Files:このメニューの隣にあるボタンをクリックし、インストールディレクトリのJDBC ドライバーファイル(cdata.jdbc.adp.jar)を追加します。
    • JDBC Driver Class:このメニューで、リストからcdata.jdbc.adp.ADP ドライバーを選択します。
    • Database URL:JDBC URL プロパティで接続URL を入力します。URL は、jdbc:adp: で始まり、セミコロンで区切られた接続プロパティが含まれています。

      Connect to ADP by specifying the following properties:

      • SSLClientCert: Set this to the certificate provided during registration.
      • SSLClientCertPassword: Set this to the password of the certificate.
      • UseUAT: The connector makes requests to the production environment by default. If using a developer account, set UseUAT = true.
      • RowScanDepth: The maximum number of rows to scan for the custom fields columns available in the table. The default value will be set to 100. Setting a high value may decrease performance.

      The connector uses OAuth to authenticate with ADP. OAuth requires the authenticating user to interact with ADP using the browser. For more information, refer to the OAuth section in the Help documentation.

      ビルトイン接続文字列デザイナ

      JDBC URL の構成については、ADP JDBC Driver に組み込まれている接続文字列デザイナを使用してください。JAR ファイルのダブルクリック、またはコマンドラインからJAR ファイルを実行します。

      java -jar cdata.jdbc.adp.jar

      接続プロパティを入力し、接続文字列をクリップボードにコピーします。

      Using the built-in connection string designer to generate a JDBC URL (Salesforce is shown.)

      以下は一般的なJDBC URL です。

      jdbc:adp:OAuthClientId=YourClientId;OAuthClientSecret=YourClientSecret;SSLClientCert='c:\cert.pfx';SSLClientCertPassword='admin@123'InitiateOAuth=GETANDREFRESH
The JDBC data source.(Salesforce is shown.)

ADP データの編集・保存

スキーマ情報を見つけるには、作成したデータソースを右クリックし、[Refresh Tables]をクリックします。 テーブルを右クリックし、[Open Tables Editor]をクリックして、テーブルをクエリします。 また、[Table Editor]でレコードを編集することもできます。

The results of a query in IntelliJ.(Salesforce is shown.)