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.

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created November 8, 2022 at 10:54 AM
Updated December 22, 2022 at 10:59 PM
Resolved November 9, 2022 at 7:32 PM