[Platform]ODBC data connection

  • Last update:November 05, 2021
  • I. Overview

    1) Application scenarios

    FineReport10.0 has JDK1.8 or JDK 11 built in, but these two JDK versions do not support direct connection to ODBC data sources. If you connect to the ODBC data source directly on the platform, you will receive the following error message:

    1.png

    How does the 10.0 decision platform connect to ODBC? More on this below.

    2) Environment preparations

    Download the file and unpack: 

    Compressed package.rar

    Will compress both files in the package

    Jdbcodbc. DLL is placed under%FineReport_10.0%\jre\bin

    Jdbc.jar is placed under %FineReport_10.0%\webapps\webroot\WEB-INF\lib. As shown below:

    Note: If the report project is deployed on a server, such as a Tomcat server, you need to place jdbc.jar and jdbCODBC. DLL in the Lib and bin directories of the Tomcat respectively.

    3) Configuration information

    To create a JDBC data connection in the platform, the basic configuration information is as follows:

    The database驱动URL
    Other JDBCsun.jdbc.odbc.JdbcOdbcDriverjdbc:odbc:Data source name


    II. Steps

    1) Taking the local ODBC connection as an example, configure a local ODBC data source FR, as shown in the figure below:

    5.png

    2) Log in to the decision platform and select the Manage>System>Data Connection>Data Connection Management, click New Data Connection. As shown below:

    6.png

    3) Under Others options, create Other JDBC data connection as shown below:

    7.png

    4) Manually enter the ODBC driver, fill in the user name and password, and finally fill in the complete data connection URL. Click Test Connection, and click Save when successful, as shown below:

    8.png

    Attachment List


    Theme: Data Preparation
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy