Skip to content

Commit

Permalink
Updating Redshift driver name. Fixes #158
Browse files Browse the repository at this point in the history
  • Loading branch information
schuemie committed Jun 11, 2019
1 parent 8b4b098 commit 2b15d50
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,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.jdbc4.Driver");
Class.forName("com.amazon.redshift.jdbc41.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 2b15d50

Please sign in to comment.