|Share this article:|
|✉ Send Feedback for this Article.|
Vertica Integration with TIBCO Jaspersoft: Connection Guide
About Vertica Connection Guides
Vertica connection guides provide basic instructions for connecting a third-party partner product to Vertica. Connection guides are based on our testing with specific versions of Vertica and the partner product.
Vertica and TIBCO Jaspersoft: Latest Versions Tested
Windows Server 2019
Vertica JDBC client driver 11.0.0
|Vertica Server||Vertica Analytical Database 11.0.0|
TIBCO Jaspersoft Overview
TIBCO Jaspersoft is a business intelligence tool that provides insights for fast visual dashboards. The JasperReports Server embeds the JasperReports engine and provides a user-friendly, web-based interface for end-users to run and view reports. Jaspersoft Studio is an open-source graphical design tool that allows users to create reports. JasperSoft reports are defined in an XML file format, called JRXML, which can be hand-coded, generated, or designed using a tool.
Installing TIBCO Jaspersoft
To download a community edition of the TIBCO Jaspersoft software, see Download Jaspersoft Business Intelligence Suite. We installed JasperReports Server and Jaspersoft Studio for our testing.
Installing the Vertica Client Driver
Before you can connect to Vertica using TIBCO Jaspersoft, you must install the Vertica JDBC client driver. Follow these steps:
- Go to the Vertica Client Drivers page.
- Download the JDBC driver package.
Note For details about client and server compatibility, see Client Driver and Server Version Compatibility in the Vertica documentation.
Connecting TIBCO Jaspersoft with Vertica
- Log in to the JasperReports server using your credentials.
On the left panel, right-click Data Source > Add Resource > Data Source.
The New Data Source window appears.
Enter the following details:
- Type: Select JDBC.
- JDBC Driver: Select Vertica(com.vertica.jdbc.Driver).
If you see the NOT INSTALLED: Vertica(com.vertica.jdbc.Driver) option, click Select Driver to browse and upload the jar file.
- Host: Enter the IP address of the Vertica Server.
- Port: 5433
- Database: Name of the Vertica database.
- URL: Appears by default.
- User Name: Vertica server user name.
- Password: Vertica server password.
- Click Test Connection.
When the connection is successful, a confirmation appears.
- Click Save.
- In the Save window, add a Data Source Name and click Save.
The Vertica connection is now displayed in the data sources list:
Visualizing Data in TIBCO Jaspersoft
You can prepare reports using Jaspersoft Studio and then publish the reports to the JasperReports server. Follow these steps to create the reports:
- Open Jaspersoft Studio.
- In the left panel, select Data Adapter > Create Data Adapter.
- Select Database JDBC Connection and click Next.
The Data Adapter Wizard appears.
- From the JDBC drop-down list, select com.vertica.jdbc.Driver.
- Enter your credentials for the Vertica server.
- Click the Driver Classpath tab.
- Add the Vertica JDBC jar file.
- Click Test to test the connection.
- Click Finish.
- From the main panel, click File > New > Jasper Report.
The New Report Wizard opens.
- Select a template and click Next.
- Enter or select the Parent Folder, which will be the container for the report.
- Click Next.
- From the data adapter drop-down menu, select VerticaDS - Database JDBC connection.
- Click Next.
Write the SELECT statement for the report and click Next.
- Select your dataset fields and click Finish.
The report is created and saved in the workspace in your local file system.
To publish your reports, you must use JasperReports, as follows:
- Open JasperReports.
- In the left panel, right-click Reports > Add Resource > JasperReport.
- Enter the report name.
- Click Browse and select the JRXML file you created.
- In the left panel, select Data Source.
The Select Data Source from Repository window opens.
- Click Browse and select VerticaDS.
- Click Submit.
The report is generated and displayed in the Reports folder.
- BINARY, VARBINARY, and LONG VARBINARY data types are not supported.
- For TIME, TIMESTAMP, TIMETZ, and TIMESTAMPTZ data types, seconds and milliseconds are not supported. For TIME and TIMESTAMPTZ, timezone is truncated.
- INTERVAL YEAR TO MONTH, INTERVAL HOUR TO SECOND, INTERVAL HOUR TO MINUTE, or INTERVAL data types are not supported and the error
There was an error on the serveris displayed.