[Designer] ODBC Data Connection

  • Last update:July 29, 2024
  • Overview

    Application Scenario

    This document introduces how to connect FineReport to an ODBC database.

    Environment Preparation

    Download the file and decompress: Compressed Package.rar

    After decompression, place the jdbcOdbc.dll file to %FineReport_11%\jre\bin, and place the jdbc.jar file to %FineReport_11%\webapps\webroot\WEB-INF\lib, as shown in the following figure.

     2024-06-14_18-58-30.png

    iconNote:
    If the report project is deployed on a server, for example, a Tomcat server, in addition to the steps mentionedabove, you also need to place the jdbc.jar file and the JdbcOdbc.dll file to the lib directory and   the bin directory of the Tomcat server respectively. You need to restart the Tomcat server before testing if you can connect to the ODBC server for access data.

    Configuration Information

    Create a JDBC data connection in the designer. The following table shows the basic configuration information.

    DatabaseDriverURL

    Others

    sun.jdbc.odbc.JdbcOdbcDriver

    jdbc:odbc:data source name

    Procedure

    1. Take the local ODBC connection as an example. Configure a local ODBC data source fr, as shown in the following figure.

     4.png

    2. On the designer menu bar, choose Server > Define Data Connection, add a JDBC data connection, rename the data connection ODBC, fill in the configuration information, and click Test Connection. After the data connection is successful, click OK.

    5.png

    Attachment List


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

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

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

    不再提示

    9s后關閉

    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