FileDocCategorySizeDatePackage
Loadable.javaAPI DocHibernate 3.2.52207Tue Jul 12 15:12:58 BST 2005org.hibernate.persister.entity

Loadable

public interface Loadable implements EntityPersister
Implemented by a EntityPersister that may be loaded using Loader.
see
org.hibernate.loader.Loader
author
Gavin King

Fields Summary
public static final String
ROWID_ALIAS
Constructors Summary
Methods Summary
public java.lang.StringgetDiscriminatorAlias(java.lang.String suffix)
Get the result set aliases used for the identifier columns, given a suffix

public java.lang.StringgetDiscriminatorColumnName()

return
the column name for the discriminator as specified in the mapping.

public org.hibernate.type.TypegetDiscriminatorType()
Get the discriminator type

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

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

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).

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

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

public booleanhasRowId()
Does the result set contain rowids?

public booleanhasSubclasses()
Does this persistent class have subclasses?

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

public booleanisAbstract()