A JPA transaction commit is supposed to save all changes to the entities associated with the persistence context that have happened so far. So it matters a lot where the