Top Description Fields Constructors Methods
org.hibernate.query.sqm

public final Enum DynamicInstantiationNature

extends Enum<DynamicInstantiationNature>
Class Inheritance
Imports
java.util.List, .Map

Represents the type of instantiation to be performed.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final DynamicInstantiationNature
CLASS

The target names a Class to be instantiated.

public static final DynamicInstantiationNature
LIST

The target identified a List instantiation.

public static final DynamicInstantiationNature
MAP

The target identified a Map instantiation.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static DynamicInstantiationNature
public static DynamicInstantiationNature[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

CLASSback to summary
public static final DynamicInstantiationNature CLASS

The target names a Class to be instantiated. This is the only form of dynamic instantiation that is JPA-compliant.

LISTback to summary
public static final DynamicInstantiationNature LIST

The target identified a List instantiation. The result for each "row" will be a List rather than an array. Similar to JPA's positional-Tuple support.

MAPback to summary
public static final DynamicInstantiationNature MAP

The target identified a Map instantiation. The result for each "row" will be a Map whose key is the alias (or name of the selected attribute is no alias) and whose value is the corresponding value read from the JDBC results. Similar to JPA's named-Tuple support.

Constructor Detail

DynamicInstantiationNatureback to summary
private DynamicInstantiationNature()

Method Detail

valueOfback to summary
public static DynamicInstantiationNature valueOf(String name)
valuesback to summary
public static DynamicInstantiationNature[] values()