Skip to content

Commit

Permalink
Merge pull request #328 from EntityRisk/update-redshift-version
Browse files Browse the repository at this point in the history
bump redshift jdbc to match pom. Closes #327
  • Loading branch information
Maxim Moinat committed Feb 4, 2022
2 parents 99d11d5 + a3ba570 commit 17e24ef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static Connection connectToRedshift(String server, String user, String pa
if (!server.contains("/"))
throw new RuntimeException("For Redshift, database name must be specified in the server field (<host>:<port>/<database>?<options>)");
try {
Class.forName("com.amazon.redshift.jdbc41.Driver");
Class.forName("com.amazon.redshift.jdbc42.Driver");
} catch (ClassNotFoundException e1) {
throw new RuntimeException("Cannot find JDBC driver. Make sure the file RedshiftJDBCx-x.x.xx.xxxx.jar is in the path");
}
Expand Down

0 comments on commit 17e24ef

Please sign in to comment.