What do you mean with migration path? 5.2 shipped without a hibernate-entitymanager artifact as all code moved into hibernate-core. That made it hard for a lot of third party integrators (like Spring Boot) to consume the new artifacts and at the same time allow users to use old versions of Hibernate. For applications, this usually doesn't apply as there is a dedicated upgrade step. So upgrading your Spring application to Hibernate 5, you effectively need 3 steps:
1. Upgrade to Spring 4.3.
2. Change the Hibernate artifact version to 5.2(.1)
3. Change the artifact identifier of Hibernate to hibernate-core.
There's nothing in Spring Framework code that needs to be tweaked.