Uploaded image for project: 'Hibernate ORM'
  1. HHH-12486

SessionFactoryHelper#findEntityPersisterByName unnecessarily tries to find entity persisters via a method that causes MappingExceptions

    Details

      Description

      The use of MetamodelImplementor#entityPersister(java.lang.String) in SessionFactoryHelper#findEntityPersisterByName unnecessarily causes many exceptions for every query compilation. It can easily be replaced by using MetamodelImplementor#entityPersisters and acting on a null return.

        Attachments

          Activity

            People

            • Assignee:
              christian.beikov Christian Beikov
              Reporter:
              christian.beikov Christian Beikov
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: