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.

Activity

Show:

Former user September 9, 2019 at 5:34 PM

Fixed in master branch.

Fixed

Assignee

Former user(Deactivated)

Reporter

Worked in

Components

Fix versions

Priority

Created September 3, 2019 at 6:05 PM
Updated September 12, 2019 at 3:38 AM
Resolved September 9, 2019 at 5:34 PM
Loading...