Package org.hibernate.collection.spi
Interface LazyInitializable
-
- All Known Subinterfaces:
PersistentCollection
public interface LazyInitializableHibernate "wraps" a java collection in an instance of PersistentCollection. Envers uses custom collection wrappers (ListProxy, SetProxy, etc). All of them need to extend LazyInitializable, so the Hibernate.isInitialized method can check if the collection is initialized or not.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidforceInitialization()To be called internally by the session, forcing immediate initialization.booleanwasInitialized()Is this instance initialized?
-