From 2b15d505db5d046bbe6bb61b94e1a4aa95c93d30 Mon Sep 17 00:00:00 2001 From: schuemie Date: Tue, 11 Jun 2019 15:00:43 +0200 Subject: [PATCH] Updating Redshift driver name. Fixes #158 --- rabbit-core/src/main/java/org/ohdsi/databases/DBConnector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }