Configuring Your JDBC Connection in Jaspersoft Studio (2024)

Before customizing your report, you need to configure a new datasource for the reporting PostgreSQL database within Jaspersoft Studio. You only need to perform this step once.

  1. Launch Jaspersoft Studio, if you have not done so already.

  2. Click the Repository Explorer button on the main toolbar to open the Connections/Datasources dialog box.

    Configuring Your JDBC Connection in Jaspersoft Studio (1)

  3. Right-click on Data Adapters and select Create Data Adapter.

  4. Select Database JDBC Connection and click Next to advance to the Database JDBC connection page.

    Configuring Your JDBC Connection in Jaspersoft Studio (2)

  5. Configure the PostgreSQL JDBC connection:

    1. Select the PostgreSQL (org.postgresql.Driver) JDBC driver.

    2. Specify the database URL to your database (jjdbc:postgresql://localhost:5432/REPORTING_DB_NAME).

    3. Supply your database username and password.

      NOTE:Specify the database username and password you use for your PostgreSQL database.

    4. Click the Test button to test your database connection.

    5. Click OK to close the message box.

    6. Save the database connection information.

  6. Close the JDBC configuration dialog box.

Configuring Your JDBC Connection in Jaspersoft Studio (2024)
Top Articles
Latest Posts
Article information

Author: Melvina Ondricka

Last Updated:

Views: 6198

Rating: 4.8 / 5 (68 voted)

Reviews: 91% of readers found this page helpful

Author information

Name: Melvina Ondricka

Birthday: 2000-12-23

Address: Suite 382 139 Shaniqua Locks, Paulaborough, UT 90498

Phone: +636383657021

Job: Dynamic Government Specialist

Hobby: Kite flying, Watching movies, Knitting, Model building, Reading, Wood carving, Paintball

Introduction: My name is Melvina Ondricka, I am a helpful, fancy, friendly, innocent, outstanding, courageous, thoughtful person who loves writing and wants to share my knowledge and understanding with you.