Same problem as in HHH-13449 Closed , but in another type. I'm opening a more generic ticket, since I suspect this is not the end of it. In Hibernate ORM 6, EntityPersister extends InFlightEntityMappingType. The problem is, InFlightEntityMappingType is located in an internal package... so it should not be exposed in a public interface.
- If that interface is actually internal, it should not be extended by EntityPersister
- If that interface is not internal, it should be moved to a different package.
I noticed that while working on Hibernate Search: we have a tool to check that we don't use any of Hibernate ORM's internal APIs, and it started to flag every use of EntityPersister, since it exposes an internal interface. |