public static List<Employee> execQueryEmployees (String query)  {
        Statement statement = null;
        Connection dbConnection = null;
        ResultSet rs = null;
        List<Employee> emp = new ArrayList<Employee>();
        try {
            dbConnection = getDBConnection();
            statement = dbConnection.createStatement();
            rs = statement.executeQuery(query);
            while (rs.next()){
                Employee employee = new Employee();
                employee.setIdPerson(rs.getInt("IDPERSON"));
                employee.setName(rs.getString("NAME"));
                employee.setFamily(rs.getString("FAMILY"));
                employee.setEmail(rs.getString("EMAIL"));
                emp.add(employee);
            }
        } catch (SQLException e) {
            e.printStackTrace();
        } finally {
            if (statement != null) {
                try {
                    statement.close();
                } catch (SQLException e) {
                    e.printStackTrace();
                }
            }
            if (dbConnection != null) {
                try {
                    dbConnection.close();
                } catch (SQLException e) {
                    e.printStackTrace();
                }
            }
        }
        return emp;
    }