Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.persister.entity
Interface Loadable  view Loadable download Loadable.java

All Superinterfaces:
EntityPersister, org.hibernate.cache.OptimisticCacheSource
All Known Subinterfaces:
OuterJoinLoadable, Queryable, SQLLoadable, UniqueKeyLoadable
All Known Implementing Classes:
AbstractEntityPersister, BasicEntityPersister

public interface Loadable
extends EntityPersister

Implemented by a EntityPersister that may be loaded using Loader.


Field Summary
static java.lang.String ROWID_ALIAS
           
 
Fields inherited from interface org.hibernate.persister.entity.EntityPersister
ENTITY_ID
 
Method Summary
 java.lang.String getDiscriminatorAlias(java.lang.String suffix)
          Get the result set aliases used for the identifier columns, given a suffix
 java.lang.String getDiscriminatorColumnName()
           
 org.hibernate.type.Type getDiscriminatorType()
          Get the discriminator type
 java.lang.String[] getIdentifierAliases(java.lang.String suffix)
          Get the result set aliases used for the identifier columns, given a suffix
 java.lang.String[] getIdentifierColumnNames()
          Get the names of columns used to persist the identifier
 java.lang.String[] getPropertyAliases(java.lang.String suffix, int i)
          Get the result set aliases used for the property columns, given a suffix (properties of this class, only).
 java.lang.String[] getPropertyColumnNames(int i)
          Get the result set column names mapped for this property (properties of this class, only).
 java.lang.String getSubclassForDiscriminatorValue(java.lang.Object value)
          Get the concrete subclass corresponding to the given discriminator value
 boolean hasRowId()
          Does the result set contain rowids?
 boolean hasSubclasses()
          Does this persistent class have subclasses?
 java.lang.Object[] hydrate(java.sql.ResultSet rs, java.io.Serializable id, java.lang.Object object, Loadable rootLoadable, java.lang.String[][] suffixedPropertyColumns, boolean allProperties, org.hibernate.engine.SessionImplementor session)
          Retrieve property values from one row of a result set
 boolean isAbstract()
           
 
Methods inherited from interface org.hibernate.persister.entity.EntityPersister
afterInitialize, afterReassociate, canExtractIdOutOfEntity, createProxy, delete, findDirty, findModified, forceVersionIncrement, getCache, getCacheEntryStructure, getClassMetadata, getConcreteProxyClass, getCurrentVersion, getDatabaseSnapshot, getEntityName, getFactory, getIdentifier, getIdentifierGenerator, getIdentifierPropertyName, getIdentifierType, getMappedClass, getNaturalIdentifierProperties, getNaturalIdentifierSnapshot, getPropertyCascadeStyles, getPropertyCheckability, getPropertyInsertability, getPropertyInsertGeneration, getPropertyLaziness, getPropertyNames, getPropertyNullability, getPropertySpaces, getPropertyType, getPropertyTypes, getPropertyUpdateability, getPropertyUpdateGeneration, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValuesToInsert, getPropertyVersionability, getQuerySpaces, getRootEntityName, getSubclassEntityPersister, getVersion, getVersionProperty, getVersionType, guessEntityMode, hasCache, hasCascades, hasCollections, hasIdentifierProperty, hasInsertGeneratedProperties, hasLazyProperties, hasMutableProperties, hasNaturalIdentifier, hasProxy, hasSubselectLoadableCollections, hasUninitializedLazyProperties, hasUpdateGeneratedProperties, implementsLifecycle, implementsValidatable, insert, insert, instantiate, isBatchLoadable, isCacheInvalidationRequired, isIdentifierAssignedByInsert, isInherited, isInstance, isInstrumented, isLazyPropertiesCacheable, isMutable, isSelectBeforeUpdateRequired, isSubclassEntityName, isTransient, isVersioned, isVersionPropertyGenerated, load, lock, postInstantiate, processInsertGeneratedProperties, processUpdateGeneratedProperties, resetIdentifier, setIdentifier, setPropertyValue, setPropertyValues, update
 
Methods inherited from interface org.hibernate.cache.OptimisticCacheSource
getVersionComparator
 

Field Detail

ROWID_ALIAS

public static final java.lang.String ROWID_ALIAS
See Also:
Constant Field Values
Method Detail

hasSubclasses

public boolean hasSubclasses()
Does this persistent class have subclasses?


getDiscriminatorType

public org.hibernate.type.Type getDiscriminatorType()
Get the discriminator type


getSubclassForDiscriminatorValue

public java.lang.String getSubclassForDiscriminatorValue(java.lang.Object value)
Get the concrete subclass corresponding to the given discriminator value


getIdentifierColumnNames

public java.lang.String[] getIdentifierColumnNames()
Get the names of columns used to persist the identifier


getIdentifierAliases

public java.lang.String[] getIdentifierAliases(java.lang.String suffix)
Get the result set aliases used for the identifier columns, given a suffix


getPropertyAliases

public java.lang.String[] getPropertyAliases(java.lang.String suffix,
                                             int i)
Get the result set aliases used for the property columns, given a suffix (properties of this class, only).


getPropertyColumnNames

public java.lang.String[] getPropertyColumnNames(int i)
Get the result set column names mapped for this property (properties of this class, only).


getDiscriminatorAlias

public java.lang.String getDiscriminatorAlias(java.lang.String suffix)
Get the result set aliases used for the identifier columns, given a suffix


getDiscriminatorColumnName

public java.lang.String getDiscriminatorColumnName()

hasRowId

public boolean hasRowId()
Does the result set contain rowids?


hydrate

public java.lang.Object[] hydrate(java.sql.ResultSet rs,
                                  java.io.Serializable id,
                                  java.lang.Object object,
                                  Loadable rootLoadable,
                                  java.lang.String[][] suffixedPropertyColumns,
                                  boolean allProperties,
                                  org.hibernate.engine.SessionImplementor session)
                           throws java.sql.SQLException,
                                  org.hibernate.HibernateException
Retrieve property values from one row of a result set


isAbstract

public boolean isAbstract()