A JDBC driver is a software component enabling a Java application to interact with a database.
To connect with individual databases, JDBC (the Java Database Connectivity API) requires drivers for
each database. The JDBC driver gives out the connection to the database and implements the protocol
for transferring the query and result between client and database.
iDashboards implements native protocols and does not require additional software installed on the
driver host. In other words, iDashboards provides driver connectivity with JDBC Data Source via
the specified driver. This document explains a step-by-step procedure to create the Data Source with an open sourced driver and a CDATA driver.
Data Source Connectivity
Open Source JDBC Driver
iDashboards is able to connect to a CSV Data Source by using an open source JDBC driver. Follow the steps below to set up a data source in the iDashboards Admin application for connectivity to the database.
- Download the driver from https://sourceforge.net/projects/csvjdbc/files/latest/download
- Copy the driver, which is implemented as a .jar file, to the drivers folder inside the ivizgroup folder inside the iDashboards_SRV folder as such: C:\iDashboards_SRV\ivisgroup\drivers
- Restart iDashboards service.
- Login to iDashboards Admin application, and click the ‘Data Source’ tab.
- You can verify if the driver file is deployed properly by viewing the ‘Data Sources’ screen in the
admin application. (See highlighted area in Figure 1)
6. In the Data Sources Section, set the ‘(new)’ data source type to ‘Generic JDBC’ (See Figure 2), and click on the ‘Add Data Source’ button.
7. Under the ‘Add Data Source’ window, enter the necessary information to connect to the database.
Additional Information regarding the Generic JDBC option:
Optional Driver Properties: columnTypes=coltype1,coltype2,coltype3,etc...
Available column types: Double(number),timestamp(date/time), String
NOTE: In order for the driver to properly detect the csv files in your directory, you must have at least one column type listed in the Optional Driver Properties, and the .csv file extension must be lowercase.
8. Click Save.
Now you can use the newly configured data source for your charts in iDashboards.
CDATA JDBC Driver
iDashboards is able to connect to a CSV Data Source by using a CDATA JDBC driver. Follow the steps below to set up a data source in the iDashboards Admin application for connectivity to the database.
- iDashboards Enterprise Suite
- iDashboards Hosted