Restore EntityMetamodel constructor to take SessionFactoryImplementor argument instead of PersisterCreationContext.
Description
changed a EntityMetamodel constructor argument from a SessionFactoryImplementor to a PersisterCreationContext.
The argument was changed to PersisterCreationContext go get access to an entity's metamodel, intended to be used by EnhancementHelper.includeInBaseFetchGroup.
The Function<String,Boolean> subclassChecker is passed to:
BytecodeEnhancementMetadataPojoImpl.from
LazyAttributesMetadata.from
EnhancementHelper.includeInBaseFetchGroup
EnhancementHelper.includeInBaseFetchGroup does not use the value passed in for hasSubclassChecker,.
EntityMetamodel constructor be changed back to take a SessionFactoryImplementor, and the hasSubclassChecker argument be removed from BytecodeEnhancementMetadataPojoImpl.from, LazyAttributesMetadata.from, and EnhancementHelper.includeInBaseFetchGroup.
changed a EntityMetamodel constructor argument from a SessionFactoryImplementor to a PersisterCreationContext.
The argument was changed to PersisterCreationContext go get access to an entity's metamodel, intended to be used by EnhancementHelper.includeInBaseFetchGroup.
The Function<String,Boolean> subclassChecker is passed to:
BytecodeEnhancementMetadataPojoImpl.from
LazyAttributesMetadata.from
EnhancementHelper.includeInBaseFetchGroup
EnhancementHelper.includeInBaseFetchGroup does not use the value passed in for hasSubclassChecker,.
EntityMetamodel constructor be changed back to take a SessionFactoryImplementor, and the hasSubclassChecker argument be removed from BytecodeEnhancementMetadataPojoImpl.from, LazyAttributesMetadata.from, and EnhancementHelper.includeInBaseFetchGroup.