Overview
Version
FineReport Version | Functional Change |
---|---|
11.0 | / |
11.0.18 | Allowed Dameng adaptation to stored procedure datasets in stored procedures. |
Application Scenario
This document introduces how to connect to the Dameng database.
Preparation for Connection
Database Version and Driver
Download the driver package and upload it to FineReport. For details, see section "Creating a Data Connection" in Driver Management.
Supported Database Version | Driver Download Link | Driver |
---|---|---|
DM7 and DM8 | dm.jdbc.driver.DmDriver |
Data connection URL format: jdbc:dm://Hostname:Port number
Connection Information Collection
Before connecting the database, you need to collect the following information:
IP address and port number of the database server
Username and password of the database
Database name
Connection Procedure
Two methods of data connection are available in FineReport:
Method one: Perform data connection in the designer. For details, see [Designer] JDBC Data Connection.
Method two: Perform data connection on the decision-making platform. This document mainly describes this method.
1. Log in to the decision-making platform as the admin, choose System Management > Data Connection > Data Connection Management, click Create, and select Data Connection, as shown in the following figure.

2. Find the Dameng icon, as shown in the following figure.
3. Select Custom from the Driver drop-down list, select the driver uploaded in section "Database Version and Driver", and enter the connection information collected in section "Connection Information Collection."
4. Click Test Connection. If the connection is successful, click Save, as shown in the following figure.
Adding Tables in the Database to FineReport
For details, see Dataset.