InstantiationOptimizer isn't used by PojoEntityTuplizer

Description

PojoEntityTuplizer#buildInstantiator(EntityMetamodel, PersistentClass) always returns an instantiator without using the optimizer's instantation optimizer.

The reason being that at the time when buildInstantiator() is invoked from the super-class constructor (AbstractEntityTuplizer), the optimizer field in the sub-class (PojoEntityTuplizer) hasn't been populated yet by its own constructor.

Environment

None

Assignee

Unassigned

Reporter

Gunnar Morling

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure