diff tests/Test_PSsomeamount.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 3ee02e94bd1d
children bf9f6b6ecf40
line wrap: on
line diff
--- a/tests/Test_PSsomeamount.java
+++ b/tests/Test_PSsomeamount.java
@@ -7,14 +7,12 @@
  */
 
 import java.sql.*;
-import java.util.*;
 
 /* Create a lot of PreparedStatements, to emulate webloads such as those
  * from Hibernate. */
 
 public class Test_PSsomeamount {
 	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;
@@ -40,6 +38,7 @@ public class Test_PSsomeamount {
 			System.out.println("ABORTING TEST!!!");
 		}
 
+		stmt.close();
 		con.close();
 	}
 }