Reproduction scenario where moving from Spring Data JPA 1.5.3 to 1.6.2 causes org.springframework.dao.InvalidDataAccessApiUsageException: detached entity passed to persist:... error