Top Description Methods
org.hibernate.metamodel.spi

public Interface EntityInstantiator

extends Instantiator
Known Direct Implementers
org.hibernate.metamodel.internal.AbstractEntityInstantiatorPojo, org.hibernate.metamodel.internal.EntityInstantiatorDynamicMap
Imports
org.hibernate.engine.spi.SessionFactoryImplementor

Contract for instantiating entity values

Method Summary

Modifier and TypeMethod and Description
public default boolean
canBeInstantiated()

Can this entity be instantiated?

public Object
instantiate(SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Create an instance of managed entity
Inherited from org.hibernate.metamodel.spi.Instantiator:
isInstanceisSameClass

Method Detail

canBeInstantiatedback to summary
public default boolean canBeInstantiated()

Can this entity be instantiated?

instantiateback to summary
public Object instantiate(SessionFactoryImplementor sessionFactory)

Deprecated

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

Create an instance of managed entity