diff --git a/rabbit-core/src/main/java/org/ohdsi/databases/DBConnector.java b/rabbit-core/src/main/java/org/ohdsi/databases/DBConnector.java index d7add5c5..e44b07a5 100644 --- a/rabbit-core/src/main/java/org/ohdsi/databases/DBConnector.java +++ b/rabbit-core/src/main/java/org/ohdsi/databases/DBConnector.java @@ -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 (:/?)"); 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"); }