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

public Class EmbeddableInstantiatorPojoIndirecting

extends AbstractPojoInstantiator
implements EmbeddableInstantiator
Class Inheritance
All Implemented Interfaces
org.hibernate.metamodel.spi.EmbeddableInstantiator, org.hibernate.metamodel.spi.Instantiator
Known Direct Subclasses
org.hibernate.metamodel.internal.EmbeddableInstantiatorPojoIndirecting.EmbeddableInstantiatorPojoIndirectingWithGap
Imports
java.lang.reflect.Constructor, org.hibernate.InstantiationException, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.metamodel.spi.EmbeddableInstantiator, .ValueAccess

Support for instantiating embeddables as POJO representation through a constructor

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
protected final Constructor<?>
protected final int[]

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public Object
instantiate(ValueAccess valuesAccess, SessionFactoryImplementor sessionFactory)

Implements org.hibernate.metamodel.spi.EmbeddableInstantiator.instantiate.

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Create an instance of the embeddable
public static EmbeddableInstantiatorPojoIndirecting
of(String[] propertyNames, Constructor<?> constructor, String[] componentNames)

Inherited from org.hibernate.metamodel.internal.AbstractPojoInstantiator:
getMappedPojoClassisAbstractisInstanceisSameClass

Field Detail

constructorback to summary
protected final Constructor<?> constructor
indexback to summary
protected final int[] index

Constructor Detail

EmbeddableInstantiatorPojoIndirectingback to summary
protected EmbeddableInstantiatorPojoIndirecting(Constructor<?> constructor, int[] index)

Method Detail

instantiateback to summary
public Object instantiate(ValueAccess valuesAccess, SessionFactoryImplementor sessionFactory)

Implements org.hibernate.metamodel.spi.EmbeddableInstantiator.instantiate.

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

Deprecated

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

Create an instance of the embeddable

Annotations
@Override
ofback to summary
public static EmbeddableInstantiatorPojoIndirecting of(String[] propertyNames, Constructor<?> constructor, String[] componentNames)
org.hibernate.metamodel.internal back to summary

private Class EmbeddableInstantiatorPojoIndirecting.EmbeddableInstantiatorPojoIndirectingWithGap

extends EmbeddableInstantiatorPojoIndirecting
Class Inheritance

Field Summary

Inherited from org.hibernate.metamodel.internal.EmbeddableInstantiatorPojoIndirecting:
constructorindex

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Object
instantiate(ValueAccess valuesAccess, SessionFactoryImplementor sessionFactory)

Overrides org.hibernate.metamodel.internal.EmbeddableInstantiatorPojoIndirecting.instantiate.

Implements org.hibernate.metamodel.spi.EmbeddableInstantiator.instantiate.

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Create an instance of the embeddable
Inherited from org.hibernate.metamodel.internal.EmbeddableInstantiatorPojoIndirecting:
of

Constructor Detail

EmbeddableInstantiatorPojoIndirectingWithGapback to summary
public EmbeddableInstantiatorPojoIndirectingWithGap(Constructor<?> constructor, int[] index)

Method Detail

instantiateback to summary
public Object instantiate(ValueAccess valuesAccess, SessionFactoryImplementor sessionFactory)

Overrides org.hibernate.metamodel.internal.EmbeddableInstantiatorPojoIndirecting.instantiate.

Implements org.hibernate.metamodel.spi.EmbeddableInstantiator.instantiate.

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

Deprecated

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

Create an instance of the embeddable

Annotations
@Override