public boolean deleteTestEmployees(Connection con)
    {
        boolean didItWork = true;
        ArrayList<Integer> empno = new ArrayList();
        
        String SQLString1 = "SELECT medarbejderno "
                          + "FROM medarbejder "
                          + "WHERE navn = 'test'";
        
        String SQLString2 = "DELETE FROM medarbejderdetails "
                           +"WHERE medarbejderno = ?";
        
        String SQLString3 = "DELETE FROM medarbejder"
                          + " WHERE navn = 'test'";
        
        
        PreparedStatement statement = null;
        try 
        {
            statement = con.prepareStatement(SQLString1);
            ResultSet rs = statement.executeQuery();
            
            while(rs.next())
            {
                empno.add(rs.getInt(1));
            }

            statement = con.prepareStatement(SQLString2);
            for(int i = 0; i < empno.size(); i++)
            {
                statement.setInt(1, empno.get(i));
                if(statement.executeUpdate() == 0)
                {
                    didItWork = false;
                }
            }
            
            statement = con.prepareStatement(SQLString3);
            if(statement.executeUpdate() == 0)
            {
                didItWork = false;
            }
        }
        
        
        catch (Exception e)
        {
            System.out.println("Fejl i TheMapper - deleteTestEmployees");
            didItWork = false;
        }
        
        return didItWork;
    }