Hi @Andrea Boriero. I don’t think it is a Hibernate issue at all, just a different behavior comparing with previous version (5.x).
Anyway, here is a test case to demonstrate that. https://github.com/franciscosousabr/same-path-hbm