製品をチェック

無償トライアル:

無償トライアルへ

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

Azure Synapse JDBC Driver

Azure Synapse データを組み込んだパワフルなJava アプリケーションを短時間・低コストで作成して配布できます。

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

お問い合わせ

RazorSQL からAzure Synapse データに連携。


データベース管理ツールのRazorSQL からGUI でウィザードとクエリからAzure Synapse データに連携する。.


azuresynapse ロゴ画像
jdbc ロゴ画像

JDBC

RazorSQL ロゴ画像

CData JDBC Driver for AzureSynapse を使って、各種ツールからAzure Synapse データにアクセスすることが可能になります。本記事では、Azure Synapse データにRazorSQL のウィザードから連携利用する方法を紹介します。

Azure Synapse JDBC Data Source の設定

  1. RazorSQL アプリケーションを開いて、Connections メニューから、Add Connection Profile -> Other -> JDBC にナビゲートします。
  2. Connection Wizard で、以下を設定します:
    • Driver Location:JDBC Driver のインストールディレクトリのlib サブフォルダに設定します。
    • Driver Class: ドライバークラスを cdata.jdbc.azuresynapse.AzureSynapseDriver に設定します。
    • Username:ユーザー名。(ユーザー名をブランクにして、JDBC URL 内で設定することも可能です。)
    • Password:パスワード。(ユーザー名をブランクにして、JDBC URL 内で設定することも可能です。)
    • JDBC URL:接続パラメータを入力します:jdbc:azuresynapse: から始まるJDBC URL を入力します。接続プロパティをカンマ区切りで書きます。

      Connecting to Azure Synapse

      In addition to providing authentication (see below), set the following properties to connect to a Azure Synapse database:

      • Server: The server running Azure. You can find this by logging into the Azure portal and navigating to Azure Synapse Analytics -> Select your database -> Overview -> Server name.
      • Database: The name of the database, as seen in the Azure portal on the Azure Synapse Analytics page.

      Authenticating to Azure Synapse

      Connect to Azure Synapse using the following properties:

      • User: The username provided for authentication with Azure.
      • Password: The password associated with the authenticating user.

      一般的なURL ::

      jdbc:azuresynapse:User=myuser;Password=mypassword;Server=localhost;Database=Northwind;
  3. Connecting to Azure Synapse

    In addition to providing authentication (see below), set the following properties to connect to a Azure Synapse database:

    • Server: The server running Azure. You can find this by logging into the Azure portal and navigating to Azure Synapse Analytics -> Select your database -> Overview -> Server name.
    • Database: The name of the database, as seen in the Azure portal on the Azure Synapse Analytics page.

    Authenticating to Azure Synapse

    Connect to Azure Synapse using the following properties:

    • User: The username provided for authentication with Azure.
    • Password: The password associated with the authenticating user.
The JDBC data source, defined by the JAR path, driver class, and JDBC URL.接続文字列はJDBC URL で接続情報を指定します。(QuickBooks is shown.)

Azure Synapse からテーブルを選択してクエリを実行

接続を確立後、Wizard が閉じ、接続はコネクションパネルで接続が利用可能になります。テーブルをクエリしてみます。

The results of a query in RazorSQL.(QuickBooks is shown.)