SessionFactoryOptionsBuilder.addEntityNameResolvers() has no effect
Description
So I believe this to be an actual bug, but it’s also sort-of a feature request.
first of all, EntityNameResolvers registered via SessionFactoryOptionsBuilder.addEntityNameResolvers() are not considered at runtime by CoordinatingEntityNameResolver. This is the bug part of this, and it seems to affect both H5 and H6.
second, SessionFactoryOptionsBuilder.addEntityNameResolvers() is actually a super-inconvenient way to add an EntityNameResolver and I would like to be able to do this via Configuration and perhaps even using a property. That’s the feature request.
So I believe this to be an actual bug, but it’s also sort-of a feature request.
first of all,
EntityNameResolver
s registered viaSessionFactoryOptionsBuilder.addEntityNameResolvers()
are not considered at runtime byCoordinatingEntityNameResolver
. This is the bug part of this, and it seems to affect both H5 and H6.second,
SessionFactoryOptionsBuilder.addEntityNameResolvers()
is actually a super-inconvenient way to add anEntityNameResolver
and I would like to be able to do this viaConfiguration
and perhaps even using a property. That’s the feature request.