Package org.hibernate.proxy.pojo
Class BasicLazyInitializer
java.lang.Object
org.hibernate.proxy.AbstractLazyInitializer
org.hibernate.proxy.pojo.BasicLazyInitializer
- All Implemented Interfaces:
LazyInitializer
- Direct Known Subclasses:
CGLIBLazyInitializer,JavassistLazyInitializer
Lazy initializer for POJOs
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CompositeTypeprotected Methodprotected static final Objectprotected booleanprotected Classprotected Method -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBasicLazyInitializer(String entityName, Class persistentClass, Serializable id, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, SessionImplementor session) -
Method Summary
Methods inherited from class org.hibernate.proxy.AbstractLazyInitializer
getEntityName, getIdentifier, getImplementation, getImplementation, getSession, getTarget, initialize, isConnectedToSession, isReadOnly, isReadOnlyBeforeAttachedToSession, isReadOnlySettingAvailable, isUninitialized, isUnwrap, setIdentifier, setImplementation, setReadOnly, setSession, setUnwrap, unsetSession
-
Field Details
-
INVOKE_IMPLEMENTATION
-
persistentClass
-
getIdentifierMethod
-
setIdentifierMethod
-
overridesEquals
protected boolean overridesEquals -
componentIdType
-
-
Constructor Details
-
BasicLazyInitializer
protected BasicLazyInitializer(String entityName, Class persistentClass, Serializable id, Method getIdentifierMethod, Method setIdentifierMethod, CompositeType componentIdType, SessionImplementor session)
-
-
Method Details
-
serializableProxy
-
invoke
- Throws:
Throwable
-
getPersistentClass
Description copied from interface:LazyInitializerGet the actual class of the entity. Generally,LazyInitializer.getEntityName()should be used instead.- Returns:
- The actual entity class.
-