LazyToOne
| Modifier and Type | Field and Description |
|---|---|
| public static final LazyToOneOption | FALSE
The association is always loaded eagerly. |
| public static final LazyToOneOption | NO_PROXY
The associated entity instance is initially in an unloaded state, and is loaded lazily when any field other than the field containing the identifier is first accessed. |
| public static final LazyToOneOption | PROXY
The association is proxied and a delegate entity instance is lazily fetched when any method of the proxy other than the getter method for the identifier property is first called. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static LazyToOneOption | |
| public static LazyToOneOption[] |
| FALSE | back to summary |
|---|---|
| public static final LazyToOneOption FALSE
Deprecated The association is always loaded eagerly. The identifier and concrete type of the associated entity instance, along with all the rest of its non-lazy fields, are always available immediately. | |
| NO_PROXY | back to summary |
|---|---|
| public static final LazyToOneOption NO_PROXY
Deprecated this setting no longer has any useful effect The associated entity instance is initially in an unloaded state, and is loaded lazily when any field other than the field containing the identifier is first accessed.
Hibernate does not support this setting for polymorphic
associations, and instead falls back to | |
| PROXY | back to summary |
|---|---|
| public static final LazyToOneOption PROXY
Deprecated The association is proxied and a delegate entity instance is lazily fetched when any method of the proxy other than the getter method for the identifier property is first called.
| |
| LazyToOneOption | back to summary |
|---|---|
| private LazyToOneOption() | |
| valueOf | back to summary |
|---|---|
| public static LazyToOneOption valueOf(String name)
Deprecated as a consequence of | |
| values | back to summary |
|---|---|
| public static LazyToOneOption[] values()
Deprecated as a consequence of | |