Adding a Snowflake Driver¶
Prerequisites:
-
Create a Snowflake account from snowflakecomputing.com for the preferred ROLE.
-
Activate your account from the dedicated login URL received from Snowflake.
-
Generate the Username and Password.
Procedure:
-
Log in as the system administrator (superuser).
-
Download the Snowflake driver from here.
Note
The location for accessing the driver is provided for convenience only, and this does not constitute an endorsement or representation that this drivers is fit for any particular purpose. You are solely responsible for the deployment and use of the driver in connection with the JasperReports Server product.
-
Enable JDBC driver uploads, as described in Enabling JDBC Driver Uploads.
-
Select View > Repository, right-click a folder's name, and select Add Resource > Data Source from the context menu. Alternatively, you can select Create > Data Source from the main menu on any page.
-
From the Type drop-down, select JDBC. The page refreshes to show the fields necessary for a JDBC data source.
-
The JDBC Driver drop-down lists the available JDBC drivers and the ones that are not installed. Select Snowflake(net.snowflake.client.jdbc.SnowflakeDriver).
-
In the HOST field, enter the host details from the dedicated Login URL received from Snowflake. The format of the HOST is
xxxxxxx-xxxxxxxx.snowflakecomputing.com. -
Provide relevant information in the Role, Virtual Warehouse and Database fields.
-
The URL field is auto populated.
-
Provide relevant information in the User Name and Password fields.
-
Click Test Connection to check if all inputs are correct.
-
Click Save to save the data source.