public class DatabaseConnection {

}

@@ -1,37 +1,464 @@
-public class DatabaseConnection %7B%0A
+import java.sql.*;%0Aimport java.util.ArrayList;%0A%0Apublic class DatabaseConnection %7B%0Apublic static Connection dbcon;%0A%09public static void InsertData(ArrayList%3CString%3E array, String path) %7B%0A%09%09try %7B%0A%09%09%09Class.forName(%22com.microsoft.sqlserver.jdbc.SQLServerDriver%22);%0A%09%09%09dbcon = DriverManager.getConnection(%22jdbc:sqlserver://serverName:1025;databaseName=complet;user=team3;password=2016;%22);%0A%09%09    dbcon.close();%0A%09%09%7D catch (Exception e) %7B%0A%09%09%09System.err.println(e);%0A%09%09%7D%0A%09%7D
 %0A%7D%0A

Create connection with Database in java