Package org.hibernate.persister.entity
Interface Loadable
- All Superinterfaces:
EntityPersister,OptimisticCacheSource
- All Known Subinterfaces:
OuterJoinLoadable,Queryable,SQLLoadable,UniqueKeyLoadable
- All Known Implementing Classes:
AbstractEntityPersister,JoinedSubclassEntityPersister,SingleTableEntityPersister,UnionSubclassEntityPersister
Implemented by a EntityPersister that may be loaded
using Loader.
- See Also:
-
Field Summary
FieldsFields inherited from interface org.hibernate.persister.entity.EntityPersister
ENTITY_ID -
Method Summary
Modifier and TypeMethodDescriptiongetDiscriminatorAlias(String suffix) Get the result set aliases used for the identifier columns, given a suffixGet the discriminator typeString[]getIdentifierAliases(String suffix) Get the result set aliases used for the identifier columns, given a suffixString[]Get the names of columns used to persist the identifierString[]getPropertyAliases(String suffix, int i) Get the result set aliases used for the property columns, given a suffix (properties of this class, only).String[]getPropertyColumnNames(int i) Get the result set column names mapped for this property (properties of this class, only).Get the concrete subclass corresponding to the given discriminator valuebooleanhasRowId()Does the result set contain rowids?booleanDoes this persistent class have subclasses?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 setbooleanvoidregisterAffectingFetchProfile(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.Methods inherited from interface org.hibernate.persister.entity.EntityPersister
afterInitialize, afterReassociate, canExtractIdOutOfEntity, createProxy, delete, findDirty, findModified, forceVersionIncrement, getCacheAccessStrategy, getCacheEntryStructure, getClassMetadata, getConcreteProxyClass, getCurrentVersion, getDatabaseSnapshot, getEntityMetamodel, getEntityName, getFactory, getIdentifier, getIdentifier, getIdentifierGenerator, getIdentifierPropertyName, getIdentifierType, getMappedClass, getNaturalIdentifierProperties, getNaturalIdentifierSnapshot, getPropertyCascadeStyles, getPropertyCheckability, getPropertyInsertability, getPropertyInsertGenerationInclusions, getPropertyLaziness, getPropertyNames, getPropertyNullability, getPropertySpaces, getPropertyType, getPropertyTypes, getPropertyUpdateability, getPropertyUpdateGenerationInclusions, 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, instantiate, isBatchLoadable, isCacheInvalidationRequired, isIdentifierAssignedByInsert, isInherited, isInstance, isInstrumented, isLazyPropertiesCacheable, isMutable, isSelectBeforeUpdateRequired, isSubclassEntityName, isTransient, isVersioned, isVersionPropertyGenerated, load, load, lock, lock, postInstantiate, processInsertGeneratedProperties, processUpdateGeneratedProperties, resetIdentifier, resetIdentifier, setIdentifier, setIdentifier, setPropertyValue, setPropertyValues, updateMethods inherited from interface org.hibernate.cache.OptimisticCacheSource
getVersionComparator
-
Field Details
-
ROWID_ALIAS
- See Also:
-
-
Method Details
-
hasSubclasses
boolean hasSubclasses()Does this persistent class have subclasses? -
getDiscriminatorType
Type getDiscriminatorType()Get the discriminator type -
getSubclassForDiscriminatorValue
Get the concrete subclass corresponding to the given discriminator value -
getIdentifierColumnNames
String[] getIdentifierColumnNames()Get the names of columns used to persist the identifier -
getIdentifierAliases
Get the result set aliases used for the identifier columns, given a suffix -
getPropertyAliases
Get the result set aliases used for the property columns, given a suffix (properties of this class, only). -
getPropertyColumnNames
Get the result set column names mapped for this property (properties of this class, only). -
getDiscriminatorAlias
Get the result set aliases used for the identifier columns, given a suffix -
getDiscriminatorColumnName
String getDiscriminatorColumnName()- Returns:
- the column name for the discriminator as specified in the mapping.
-
hasRowId
boolean hasRowId()Does the result set contain rowids? -
hydrate
Object[] hydrate(ResultSet rs, Serializable id, Object object, Loadable rootLoadable, String[][] suffixedPropertyColumns, boolean allProperties, SessionImplementor session) throws SQLException, HibernateException Retrieve property values from one row of a result set- Throws:
SQLExceptionHibernateException
-
isAbstract
boolean isAbstract() -
registerAffectingFetchProfile
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.
-