Mercurial > hg > monetdb-java
diff tests/Test_Dobjects.java @ 27:04fbf3655452
Disable Class.forName("nl.cwi.monetdb.jdbc.MonetDriver"); code
as it is not needed anymore for self registering JDBC drivers
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 20 Oct 2016 19:13:11 +0200 (2016-10-20) |
parents | a5a898f6886c |
children | b9b35ca2eec2 |
line wrap: on
line diff
--- a/tests/Test_Dobjects.java +++ b/tests/Test_Dobjects.java @@ -26,7 +26,7 @@ public class Test_Dobjects { } public static void main(String[] args) throws Exception { - Class.forName("nl.cwi.monetdb.jdbc.MonetDriver"); + // Class.forName("nl.cwi.monetdb.jdbc.MonetDriver"); // not needed anymore for self registering JDBC drivers Connection con = DriverManager.getConnection(args[0]); Statement stmt = con.createStatement(); PreparedStatement pstmt;