Top Description Methods
org.hibernate.collection.spi

public Interface LazyInitializable

Known Direct Subinterfaces
org.hibernate.collection.spi.PersistentCollection
Annotations
@Incubating
Imports
org.hibernate.Incubating

The most general abstraction over collections which may be fetched lazily.

All of these wrapper objects extend LazyInitializable, allowing:

Author
Fabricio Gregorio

Method Summary

Modifier and TypeMethod and Description
public void
forceInitialization()

To be called internally by the session, forcing immediate initialization.

public boolean

Returns:

Was this collection initialized? Or is its data still not (fully) loaded?
wasInitialized
()

Is this instance initialized?

Method Detail

forceInitializationback to summary
public void forceInitialization()

To be called internally by the session, forcing immediate initialization.

See Also
org.hibernate.Hibernate#initialize(Object)
wasInitializedback to summary
public boolean wasInitialized()

Is this instance initialized?

Returns:boolean

Was this collection initialized? Or is its data still not (fully) loaded?

See Also
org.hibernate.Hibernate#isInitialized(Object)