Top Description Fields Constructors Methods
org.hibernate.metamodel.internal

public Class EntityInstantiatorPojoOptimized

extends AbstractEntityInstantiatorPojo
Class Inheritance
Imports
org.hibernate.bytecode.spi.ReflectionOptimizer.InstantiationOptimizer, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.mapping.PersistentClass, org.hibernate.tuple.entity.EntityMetamodel, org.hibernate.type.descriptor.java.JavaType

Support for instantiating entity values as POJO representation using bytecode optimizer
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final ReflectionOptimizer.InstantiationOptimizer

Constructor Summary

AccessConstructor and Description
public
EntityInstantiatorPojoOptimized(EntityMetamodel entityMetamodel, PersistentClass persistentClass, JavaType<?> javaType, ReflectionOptimizer.InstantiationOptimizer instantiationOptimizer)

Deprecated as a consequence of EntityMetamodel being deprecated.

Method Summary

Modifier and TypeMethod and Description
public Object
instantiate(SessionFactoryImplementor sessionFactory)

Implements org.hibernate.metamodel.spi.EntityInstantiator.instantiate.

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Create an instance of managed entity
Inherited from org.hibernate.metamodel.internal.AbstractEntityInstantiatorPojo:
applyInterceptionisInstance

Field Detail

instantiationOptimizerback to summary
private final ReflectionOptimizer.InstantiationOptimizer instantiationOptimizer

Constructor Detail

EntityInstantiatorPojoOptimizedback to summary
public EntityInstantiatorPojoOptimized(EntityMetamodel entityMetamodel, PersistentClass persistentClass, JavaType<?> javaType, ReflectionOptimizer.InstantiationOptimizer instantiationOptimizer)

Deprecated

as a consequence of EntityMetamodel being deprecated. See corresponding docs for further information.

Method Detail

instantiateback to summary
public Object instantiate(SessionFactoryImplementor sessionFactory)

Implements org.hibernate.metamodel.spi.EntityInstantiator.instantiate.

Doc from org.hibernate.metamodel.spi.EntityInstantiator.instantiate.

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Create an instance of managed entity

Annotations
@Override