org.hibernate.cache.entry
Class CacheEntry
java.lang.Object
org.hibernate.cache.entry.CacheEntry
- All Implemented Interfaces:
- Serializable
public final class CacheEntry
- extends Object
- implements Serializable
A cached instance of a persistent class
- Author:
- Gavin King
- See Also:
- Serialized Form
CacheEntry
public CacheEntry(Object[] state,
EntityPersister persister,
boolean unfetched,
Object version,
SessionImplementor session,
Object owner)
throws HibernateException
- Throws:
HibernateException
getSubclass
public String getSubclass()
areLazyPropertiesUnfetched
public boolean areLazyPropertiesUnfetched()
getVersion
public Object getVersion()
assemble
public Object[] assemble(Object instance,
Serializable id,
EntityPersister persister,
Interceptor interceptor,
EventSource session)
throws HibernateException
- Throws:
HibernateException
getDisassembledState
public Serializable[] getDisassembledState()
toString
public String toString()
- Overrides:
toString
in class Object