Mercurial > hg > monetdb-java
diff tests/Test_PStypes.java @ 391:f523727db392
Moved Java classes from packages starting with nl.cwi.monetdb.* to package org.monetdb.*
This naming complies to the Java Package Naming convention as MonetDB's main website is www.monetdb.org.
author | Martin van Dinther <martin.van.dinther@monetdbsolutions.com> |
---|---|
date | Thu, 12 Nov 2020 22:02:01 +0100 (2020-11-12) |
parents | 54137aeb1f92 |
children | bf9f6b6ecf40 |
line wrap: on
line diff
--- a/tests/Test_PStypes.java +++ b/tests/Test_PStypes.java @@ -10,12 +10,9 @@ import java.sql.*; public class Test_PStypes { public static void main(String[] args) throws Exception { - // 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; - //ResultSet rs = null; - //DatabaseMetaData dbmd = con.getMetaData(); con.setAutoCommit(false); // >> false: auto commit was just switched off @@ -41,6 +38,7 @@ public class Test_PStypes { ); // index is not used, but the original bug had it too stmt.executeUpdate("CREATE INDEX htmid ON htmtest (htmid)"); + stmt.close(); } catch (SQLException e) { System.out.println(e); System.out.println("Creation of test table failed! :(");