Ready to get started?

Learn more about the CData JDBC Driver for WooCommerce or download a free trial:

Download Now

DBArtisan でJDBC 経由でWooCommerce Data をデータ連携利用

DBArtisan のウィザードを使用して、WooCommerce のJDBC データソースを作成します。

CData JDBC Driver for WooCommerce は、データベースとしてWooCommerce data に連携できるようにすることで、WooCommerce data をDBArtisan などのデータベース管理ツールにシームレスに連携します。ここでは、DBArtisan でWooCommerce のJDBC ソースを作成する方法を説明します。データを直観的に標準SQL で実行できます。

WooCommerce Data をDBArtisan Projects に連携

Follow the steps below to register WooCommerce data as a database instance in your project:

  1. In DBArtisan, click Data Source -> Register Datasource.
  2. Select Generic JDBC.
  3. Click Manage.
  4. In the resulting dialog, click New.Enter a name for the driver and click Add.In the resulting dialog, navigate to the driver JAR.The driver JAR is located in the lib subfolder of the installation directory.
  5. In the Connection URL box, enter credentials and other required connection properties in the JDBC URL.

    WooCommerce supports the following authentication methods: one-legged OAuth1.0 Authentication and standard OAuth2.0 Authentication.

    Connecting using one-legged OAuth 1.0 Authentication

    Specify the following properties (NOTE: the below credentials are generated from WooCommerce settings page and should not be confused with the credentials generated by using WordPress OAuth2.0 plugin):

    • ConsumerKey
    • ConsumerSecret

    Connecting using WordPress OAuth 2.0 Authentication

    After having configured the plugin, you may connect to WooCommerce by providing the following connection properties:

    • OAuthClientId
    • OAuthClientSecret
    • CallbackURL
    • InitiateOAuth - Set this to either GETANDREFRESH or REFRESH

    In either case, you will need to set the Url property to the URL of the WooCommerce instance.

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

    For assistance in constructing the JDBC URL, use the connection string designer built into the WooCommerce JDBC Driver.Either double-click the JAR file or execute the jar file from the command-line.

    java -jar cdata.jdbc.woocommerce.jar

    Fill in the connection properties and copy the connection string to the clipboard.

    Below is a typical connection string:

    jdbc:woocommerce:Url=https://example.com/; ConsumerKey=ck_ec52c76185c088ecaa3145287c8acba55a6f59ad; ConsumerSecret=cs_9fde14bf57126156701a7563fc87575713c355e5; InitiateOAuth=GETANDREFRESH
  6. Finish the wizard to connect to WooCommerce data. WooCommerce entities are displayed in the Datasource Explorer.

You can now work with WooCommerce data as you work with any other database. See the driver help documentation for more information on the queries supported by the WooCommerce API.

 
 
ダウンロード