JDBC Driver for Freshdesk

Build 23.0.8839

接続の確立

JDBC データソースの作成

Java アプリケーションから接続するJDBC データソースを作成できます。CData JDBC Driver for Freshdesk に基づくJDBC データソースの作成は、3つの基本ステップで構成されます。

  • ドライバーのJAR ファイルをクラスパスに追加します。JAR ファイルはインストールディレクトリの[lib]サブフォルダ内にあります。.lic ファイルはJAR ファイルと同じフォルダ内に配置される必要があることに注意してください。
  • ドライバークラスを入力します。次に例を示します。
    cdata.jdbc.freshdesk.FreshDeskDriver
  • JDBC URL を入力します。次に例を示します。
    jdbc:freshdesk:Domain=MyDomain;APIKey=myAPIKey;
    
    or
    
    jdbc:cdata:freshdesk:Domain=MyDomain;APIKey=myAPIKey;

    上記の2つ目の形式は、同じURL 形式を使用しているドライバー間でアプリケーションに競合がある場合は、CData ドライバーを使用していることを確認するために常に使用できます。URL は "jdbc:freshdesk:" または"jdbc:cdata:freshdesk:" のいずれかから始まり、任意の接続プロパティの名前と値のペアをセミコロン区切りで入力します。

Connecting to Freshdesk

Freshdesk makes use of basic authentication. To connect to data, set the following connection properties:

  • Domain: Set this to the domain associated with your Freshdesk account. For example, in your URL, https://{domainValue}.freshdesk.com, thus the connection string should be:

    Domain=domainValue

  • APIKey: Set this to the API key associated with your Freshdesk account. To retrieve your API key, log in to your support Portal. Click the profile picture in the upper-right corner and select the profile settings page. The API key is available below the change password section to the right.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839