Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiYzU2NjcwMjU5...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-15689?atlOrigin=eyJpIjoiYzU2Nj...
) HHH-15689 (
https://hibernate.atlassian.net/browse/HHH-15689?atlOrigin=eyJpIjoiYzU2Nj...
) SessionFactoryOptionsBuilder.addEntityNameResolvers() has no effect (
https://hibernate.atlassian.net/browse/HHH-15689?atlOrigin=eyJpIjoiYzU2Nj...
)
Issue Type: Bug Affects Versions: 6.1.5, 5.6.14 Assignee: Unassigned Components:
hibernate-core Created: 08/Nov/2022 02:54 AM Priority: Major Reporter: Gavin King (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
So I believe this to be an actual bug , but it’s also sort-of a feature request.
* first of all, EntityNameResolver}}s 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.
(
https://hibernate.atlassian.net/browse/HHH-15689#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-15689#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100210- sha1:ffe1a02 )