public static void listDetroitEmployees(EntityManager entityManager) {
		TypedQuery<Employee> query = entityManager.createQuery(
						"select e from Employee e join e.address a where a.town = 'Detroit'",
						Employee.class);
		List<Employee> resultList = query.getResultList();

		entityManager.close();

		for (Employee employee : resultList) {
			System.out.println(employee);
		}
	}