public static void listEmployeesWithProject(EntityManager entityManager) {
		TypedQuery<Employee> query = entityManager.createQuery(
				"select e from Employee e join fetch e.projects",
				Employee.class);
		List<Employee> resultList = query.getResultList();

		entityManager.close();

		for (Employee employee : resultList) {
			System.out.println(employee.getFirstName() + " "
					+ employee.getLastName() + " - " + employee.getProjects());
		}
	}