Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » persister » entity » [javadoc | source]
org.hibernate.persister.entity
public interface: Loadable [javadoc | source]

All Implemented Interfaces:
    EntityPersister

All Known Implementing Classes:
    SingleTableEntityPersister, Queryable, OuterJoinLoadable, AbstractEntityPersister, SQLLoadable, JoinedSubclassEntityPersister, UniqueKeyLoadable, UnionSubclassEntityPersister, BasicEntityPersister

Implemented by a EntityPersister that may be loaded using Loader.
Field Summary
public static final  String ROWID_ALIAS     
Method from org.hibernate.persister.entity.Loadable Summary:
getDiscriminatorAlias,   getDiscriminatorColumnName,   getDiscriminatorType,   getIdentifierAliases,   getIdentifierColumnNames,   getPropertyAliases,   getPropertyColumnNames,   getSubclassForDiscriminatorValue,   hasRowId,   hasSubclasses,   hydrate,   isAbstract
Method from org.hibernate.persister.entity.Loadable Detail:
 public String getDiscriminatorAlias(String suffix)
    Get the result set aliases used for the identifier columns, given a suffix
 public String getDiscriminatorColumnName()
 public Type getDiscriminatorType()
    Get the discriminator type
 public String[] getIdentifierAliases(String suffix)
    Get the result set aliases used for the identifier columns, given a suffix
 public String[] getIdentifierColumnNames()
    Get the names of columns used to persist the identifier
 public String[] getPropertyAliases(String suffix,
    int i)
    Get the result set aliases used for the property columns, given a suffix (properties of this class, only).
 public String[] getPropertyColumnNames(int i)
    Get the result set column names mapped for this property (properties of this class, only).
 public String getSubclassForDiscriminatorValue(Object value)
    Get the concrete subclass corresponding to the given discriminator value
 public boolean hasRowId()
    Does the result set contain rowids?
 public boolean hasSubclasses()
    Does this persistent class have subclasses?
 public Object[] hydrate(ResultSet rs,
    Serializable id,
    Object object,
    Loadable rootLoadable,
    String[][] suffixedPropertyColumns,
    boolean allProperties,
    SessionImplementor session) throws HibernateException, SQLException
    Retrieve property values from one row of a result set
 public boolean isAbstract()