Top Description Fields Constructors Methods
org.hibernate.annotations

public final Enum LazyToOneOption

extends Enum<LazyToOneOption>
Class Inheritance

Lazy options available for a ToOne association
Author
Emmanuel Bernard

Field Summary

Modifier and TypeField and Description
public static final LazyToOneOption
FALSE

eagerly load the association

public static final LazyToOneOption
NO_PROXY

Lazy, give back the real object loaded when a reference is requested (Bytecode enhancement is mandatory for this option, fall back to PROXY if the class is not enhanced) This option should be avoided unless you can't afford the use of proxies

public static final LazyToOneOption
PROXY

Lazy, give back a proxy which will be loaded when the state is requested This should be the prefered option

Constructor Summary

AccessConstructor and Description
private

Method Summary

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

Field Detail

FALSEback to summary
public static final LazyToOneOption FALSE

eagerly load the association

NO_PROXYback to summary
public static final LazyToOneOption NO_PROXY

Lazy, give back the real object loaded when a reference is requested (Bytecode enhancement is mandatory for this option, fall back to PROXY if the class is not enhanced) This option should be avoided unless you can't afford the use of proxies

PROXYback to summary
public static final LazyToOneOption PROXY

Lazy, give back a proxy which will be loaded when the state is requested This should be the prefered option

Constructor Detail

LazyToOneOptionback to summary
private LazyToOneOption()

Method Detail

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