HHH-15084 Remove use of BeanManager.createInjectionTarget(AnnotatedType)
This commit is contained in:
parent
8e6fb5636b
commit
9a23a679bd
|
@ -128,7 +128,7 @@ public class JpaCompliantLifecycleStrategy implements BeanLifecycleStrategy {
|
|||
}
|
||||
|
||||
try {
|
||||
this.injectionTarget = beanManager.createInjectionTarget( annotatedType );
|
||||
this.injectionTarget = beanManager.getInjectionTargetFactory( annotatedType ).createInjectionTarget( (Bean) null );
|
||||
this.creationalContext = beanManager.createCreationalContext( null );
|
||||
|
||||
this.beanInstance = this.injectionTarget.produce( creationalContext );
|
||||
|
|
Loading…
Reference in New Issue