Thanks, Swapna.
The project is using JPA, though I’m not entirely sure whether it uses just JPA or hibernate-jpa (it’s not my baby).
As the project only has the JPA facet selected, I tried to uncheck that and do the migration. That went smooth, and now the project references hibernate (not hibernate-jpa). Only the project does not deploy proberly.
I guess we have made some errors along the coding path and made a mess with mixing technologies (we have been through some trial’n error with this project).
For now we’ve decided to stick with me10.7 and create a new project with me2013 when we get the time or need.