public interface

Loadable

implements EntityPersister
org.hibernate.persister.entity.Loadable
Known Indirect Subclasses

Class Overview

Implemented by a EntityPersister that may be loaded using Loader.

See Also

Summary

Constants
String ROWID_ALIAS
[Expand]
Inherited Constants
From interface org.hibernate.persister.entity.EntityPersister
Public Methods
abstract String getDiscriminatorAlias(String suffix)
Get the result set aliases used for the identifier columns, given a suffix
abstract String getDiscriminatorColumnName()
abstract Type getDiscriminatorType()
Get the discriminator type
abstract String[] getIdentifierAliases(String suffix)
Get the result set aliases used for the identifier columns, given a suffix
abstract String[] getIdentifierColumnNames()
Get the names of columns used to persist the identifier
abstract String[] getPropertyAliases(String suffix, int i)
Get the result set aliases used for the property columns, given a suffix (properties of this class, only).
abstract String[] getPropertyColumnNames(int i)
Get the result set column names mapped for this property (properties of this class, only).
abstract String getSubclassForDiscriminatorValue(Object value)
Get the concrete subclass corresponding to the given discriminator value
abstract boolean hasRowId()
Does the result set contain rowids?
abstract boolean hasSubclasses()
Does this persistent class have subclasses?
abstract Object[] hydrate(ResultSet rs, Serializable id, Object object, Loadable rootLoadable, String[][] suffixedPropertyColumns, boolean allProperties, SessionImplementor session)
Retrieve property values from one row of a result set
abstract boolean isAbstract()
abstract void registerAffectingFetchProfile(String fetchProfileName)
Register the name of a fetch profile determined to have an affect on the underlying loadable in regards to the fact that the underlying load SQL needs to be adjust when the given fetch profile is enabled.
[Expand]
Inherited Methods
From interface org.hibernate.cache.OptimisticCacheSource
From interface org.hibernate.persister.entity.EntityPersister

Constants

public static final String ROWID_ALIAS

Constant Value: "rowid_"

Public Methods

public abstract String getDiscriminatorAlias (String suffix)

Get the result set aliases used for the identifier columns, given a suffix

public abstract String getDiscriminatorColumnName ()

Returns
  • the column name for the discriminator as specified in the mapping.

public abstract Type getDiscriminatorType ()

Get the discriminator type

public abstract String[] getIdentifierAliases (String suffix)

Get the result set aliases used for the identifier columns, given a suffix

public abstract String[] getIdentifierColumnNames ()

Get the names of columns used to persist the identifier

public abstract 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 abstract String[] getPropertyColumnNames (int i)

Get the result set column names mapped for this property (properties of this class, only).

public abstract String getSubclassForDiscriminatorValue (Object value)

Get the concrete subclass corresponding to the given discriminator value

public abstract boolean hasRowId ()

Does the result set contain rowids?

public abstract boolean hasSubclasses ()

Does this persistent class have subclasses?

public abstract Object[] hydrate (ResultSet rs, Serializable id, Object object, Loadable rootLoadable, String[][] suffixedPropertyColumns, boolean allProperties, SessionImplementor session)

Retrieve property values from one row of a result set

public abstract boolean isAbstract ()

public abstract void registerAffectingFetchProfile (String fetchProfileName)

Register the name of a fetch profile determined to have an affect on the underlying loadable in regards to the fact that the underlying load SQL needs to be adjust when the given fetch profile is enabled.

Parameters
fetchProfileName The name of the profile affecting this.