Use JPA merge instead of persist when the entity is known to be managed