]> source.dussan.org Git - iciql.git/commitdiff
Update to MySQL driver 6.0.5
authorJames Moger <james.moger@gitblit.com>
Mon, 30 Jan 2017 21:45:58 +0000 (16:45 -0500)
committerJames Moger <james.moger@gitblit.com>
Mon, 30 Jan 2017 21:49:14 +0000 (16:49 -0500)
pom.xml
src/main/java/com/iciql/util/JdbcUtils.java
src/test/java/com/iciql/test/IciqlSuite.java
src/test/java/com/iciql/test/ViewsTest.java

diff --git a/pom.xml b/pom.xml
index 25ba6ced31e87cd6381d57f467094c49d41baaf8..fa91da864740baee0d6656b663e1f804029fbca5 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -91,7 +91,7 @@
         <dependency>
             <groupId>mysql</groupId>
             <artifactId>mysql-connector-java</artifactId>
-            <version>5.1.38</version>
+            <version>6.0.5</version>
             <type>jar</type>
             <scope>provided</scope>
         </dependency>
index 1a20489482956b612521c47cd4b0d7fe55698487..79c71f218ae73cbaece3b0e838227e21e3fd96df 100644 (file)
@@ -40,7 +40,7 @@ public class JdbcUtils {
             "FrontBase:", "com.frontbase.jdbc.FBJDriver", "firebirdsql:", "org.firebirdsql.jdbc.FBDriver",
             "hsqldb:", "org.hsqldb.jdbcDriver", "informix-sqli:", "com.informix.jdbc.IfxDriver", "jtds:",
             "net.sourceforge.jtds.jdbc.Driver", "microsoft:", "com.microsoft.jdbc.sqlserver.SQLServerDriver",
-            "mimer:", "com.mimer.jdbc.Driver", "mysql:", "com.mysql.jdbc.Driver", "odbc:",
+            "mimer:", "com.mimer.jdbc.Driver", "mysql:", "com.mysql.cj.jdbc.Driver", "odbc:",
             "sun.jdbc.odbc.JdbcOdbcDriver", "oracle:", "oracle.jdbc.driver.OracleDriver", "pervasive:",
             "com.pervasive.jdbc.v2.Driver", "pointbase:micro:", "com.pointbase.me.jdbc.jdbcDriver",
             "pointbase:", "com.pointbase.jdbc.jdbcUniversalDriver", "postgresql:", "org.postgresql.Driver",
index a5470d9d2ad3f1248732f454d092c4a178434c16..92525e04d5253bb81f2adc702061b6691edd944f 100644 (file)
@@ -110,7 +110,7 @@ public class IciqlSuite {
             new TestDb("Derby", "memory", "jdbc:derby:memory:iciql;create=true"),
             new TestDb("Derby", "file", "jdbc:derby:directory:testdbs/derby/iciql;create=true"),
             new TestDb("Derby", "tcp", "jdbc:derby://localhost:1527/testdbs/derby/iciql;create=true", "sa", "sa"),
-            new TestDb("MySQL", "tcp", "jdbc:mysql://localhost:3306/iciql", "sa", "sa"),
+            new TestDb("MySQL", "tcp", "jdbc:mysql://localhost:3306/iciql?useSSL=false", "sa", "sa"),
             new TestDb("PostgreSQL", "tcp", "jdbc:postgresql://localhost:5432/iciql", "sa", "sa"),
 
             //
index cf4df7d457bb8b3ec856a42d6bc0f9825ffd3237..eba1a01c5483f0a76a7d6db6e21dd7f3908f236b 100644 (file)
@@ -22,7 +22,7 @@ import com.iciql.test.models.ProductView;
 import com.iciql.test.models.ProductViewFromQuery;
 import com.iciql.test.models.ProductViewInherited;
 import com.iciql.test.models.ProductViewInheritedComplex;
-import com.mysql.jdbc.StringUtils;
+import com.iciql.util.StringUtils;
 import org.junit.After;
 import org.junit.Before;
 import org.junit.Test;