Package org.hibernate.persister.entity
Interface OuterJoinLoadable
-
- All Superinterfaces:
AttributeSource
,Bindable
,Discriminatable
,EntityMappingType
,EntityPersister
,EntityValuedModelPart
,FetchableContainer
,FilterRestrictable
,JdbcMappingContainer
,Joinable
,Loadable
,Loadable
,ManagedMappingType
,MappingModelExpressible
,MappingType
,ModelPart
,ModelPartContainer
,Queryable
,Restrictable
,RootTableGroupProducer
,TableGroupProducer
,WhereRestrictable
- All Known Implementing Classes:
AbstractEntityPersister
,JoinedSubclassEntityPersister
,SingleTableEntityPersister
,UnionSubclassEntityPersister
public interface OuterJoinLoadable extends Loadable, Joinable
AEntityPersister
that may be loaded by outer join using and may be an element of a one-to-many association.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.Bindable
Bindable.JdbcValuesConsumer
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.EntityMappingType
EntityMappingType.ConstraintOrderedTableConsumer
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.ModelPart
ModelPart.JdbcValueConsumer
-
-
Field Summary
-
Fields inherited from interface org.hibernate.persister.entity.EntityPersister
ENTITY_ID
-
Fields inherited from interface org.hibernate.persister.entity.Loadable
ROWID_ALIAS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
countSubclassProperties()
How many properties are there, for this class and all subclasses?String
fromTableFragment(String alias)
Get the main from table fragment, given a query alias.CascadeStyle
getCascadeStyle(int i)
Get the cascade style of this (subclass closure) propertyEntityType
getEntityType()
FetchMode
getFetchMode(int i)
May this (subclass closure) property be fetched using an SQL outerjoin?String[]
getPropertyColumnNames(String propertyPath)
Get the column names for the given property pathString
getPropertyTableName(String propertyName)
Get the table name for the given property pathString[]
getSubclassPropertyColumnNames(int i)
Return the column names used to persist the numbered property of the class or a subclass.String
getSubclassPropertyName(int i)
Get the name of the numbered property of the class or a subclass.String
getSubclassPropertyTableName(int i)
Return the table name used to persist the numbered property of the class or a subclass.Type
getSubclassPropertyType(int i)
Get the type of the numbered property of the class or a subclass.boolean
isDefinedOnSubclass(int i)
Is this property defined on a subclass of the mapped class.boolean
isSubclassPropertyNullable(int i)
Is the numbered property of the class of subclass nullable?String
selectFragment(String alias, String suffix)
Generate a list of collection index, key and element columnsString[]
toColumns(String name, int i)
Given the number of a property of a subclass, and a table alias, return the aliased column names.-
Methods inherited from interface org.hibernate.persister.walking.spi.AttributeSource
getPropertyIndex
-
Methods inherited from interface org.hibernate.metamodel.mapping.Bindable
forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, getJdbcMappings
-
Methods inherited from interface org.hibernate.metamodel.mapping.EntityMappingType
applyBaseRestrictions, applyDiscriminator, applyFilterRestrictions, applySqlSelections, applySqlSelections, applyWhereRestrictions, createDomainResult, createPrimaryTableReference, createRootTableGroup, createRootTableGroup, createTableReferenceJoin, disassemble, extractConcreteTypeStateValues, findContainingEntityMapping, findDeclaredAttributeMapping, findSubPart, findSubPart, forEachDisassembledJdbcValue, forEachJdbcType, forEachJdbcValue, getAttributeMappings, getContributor, getDeclaredAttributeMappings, getDiscriminatorMapping, getEntityPersister, getFetchable, getIdentifierMapping, getJavaType, getJdbcTypeCount, getMappedJavaType, getNaturalIdMapping, getNumberOfAttributeMappings, getNumberOfDeclaredAttributeMappings, getNumberOfFetchables, getPartMappingType, getPartName, getRootEntityDescriptor, getRootPathName, getRowIdMapping, getSubclassEntityNames, getSubclassId, getSubMappingTypes, getSuperMappingType, getVersionMapping, isAffectedByEnabledFetchProfiles, isAffectedByEnabledFilters, isAffectedByEntityGraph, isTypeOrSuperType, isTypeOrSuperType, pruneForSubclasses, visitAttributeMappings, visitAttributeMappings, visitConstraintOrderedTables, visitDeclaredAttributeMappings, visitSubParts, visitSubTypeAttributeMappings, visitSuperTypeAttributeMappings
-
Methods inherited from interface org.hibernate.persister.entity.EntityPersister
afterInitialize, afterReassociate, breakDownJdbcValues, buildCacheEntry, canExtractIdOutOfEntity, canReadFromCache, canUseReferenceCacheEntries, canWriteToCache, createProxy, delete, findDirty, findModified, forceVersionIncrement, getAttributeMapping, getBytecodeEnhancementMetadata, getCacheAccessStrategy, getCacheEntryStructure, getClassMetadata, getConcreteProxyClass, getCurrentVersion, getDatabaseSnapshot, getEntityEntryFactory, getEntityMappingType, getEntityMetamodel, getEntityName, getFactory, getFilterAliasGenerator, getFilterAliasGenerator, getIdByUniqueKey, getIdentifier, getIdentifierGenerator, getIdentifierPropertyName, getIdentifierType, getInstrumentationMetadata, getMappedClass, getMultiNaturalIdLoader, getNaturalIdCacheAccessStrategy, getNaturalIdentifierProperties, getNaturalIdentifierSnapshot, getNaturalIdLoader, getPropertyCascadeStyles, getPropertyCheckability, getPropertyInsertability, getPropertyLaziness, getPropertyNames, getPropertyNullability, getPropertySpaces, getPropertyType, getPropertyTypes, getPropertyUpdateability, getPropertyValue, getPropertyValue, getPropertyValues, getPropertyValuesToInsert, getPropertyVersionability, getQuerySpaces, getRepresentationStrategy, getRootEntityName, getSqlAliasStem, getSqmMultiTableInsertStrategy, getSqmMultiTableMutationStrategy, getSubclassEntityPersister, getSynchronizationSpaces, getSynchronizedQuerySpaces, getValue, getValues, getVersion, getVersionJavaType, getVersionProperty, getVersionType, hasCache, hasCascades, hasCollections, hasIdentifierProperty, hasInsertGeneratedProperties, hasLazyProperties, hasMutableProperties, hasNaturalIdCache, hasNaturalIdentifier, hasProxy, hasSubselectLoadableCollections, hasUninitializedLazyProperties, hasUpdateGeneratedProperties, implementsLifecycle, initializeEnhancedEntityUsedAsProxy, insert, insert, instantiate, isBatchLoadable, isCacheInvalidationRequired, isIdentifierAssignedByInsert, isInherited, isInstance, isInstrumented, isLazyPropertiesCacheable, isMutable, isSelectBeforeUpdateRequired, isSubclassEntityName, isTransient, isVersioned, isVersionPropertyGenerated, load, load, load, load, loadEntityIdByNaturalId, lock, lock, multiLoad, postInstantiate, processInsertGeneratedProperties, processUpdateGeneratedProperties, resetIdentifier, resolveAttributeIndexes, resolveDirtyAttributeIndexes, setIdentifier, setPropertyValue, setPropertyValues, setValue, setValues, update, visitQuerySpaces
-
Methods inherited from interface org.hibernate.sql.results.graph.FetchableContainer
getKeyFetchable, getNumberOfKeyFetchables, visitFetchables, visitFetchables, visitFetchables, visitKeyFetchables, visitKeyFetchables, visitKeyFetchables
-
Methods inherited from interface org.hibernate.persister.entity.Joinable
consumesCollectionAlias, consumesEntityAlias, getKeyColumnNames, getName, getTableName, isCollection
-
Methods inherited from interface org.hibernate.persister.entity.Loadable
getDiscriminatorAlias, getDiscriminatorColumnName, getDiscriminatorType, getDiscriminatorValue, getIdentifierAliases, getIdentifierColumnNames, getPropertyAliases, getPropertyColumnNames, getSubclassForDiscriminatorValue, getTableAliasForColumn, hasRowId, hasSubclasses, isAbstract, registerAffectingFetchProfile
-
Methods inherited from interface org.hibernate.metamodel.mapping.ManagedMappingType
findAttributeMapping, forEachAttributeMapping
-
Methods inherited from interface org.hibernate.metamodel.mapping.ModelPart
areEqual, asAttributeMapping, forEachSelectable, forEachSelectable, getNavigableRole
-
Methods inherited from interface org.hibernate.metamodel.mapping.Queryable
findByPath, findSubTypesSubPart, resolveSubPart
-
Methods inherited from interface org.hibernate.sql.ast.tree.from.TableGroupProducer
containsTableReference
-
-
-
-
Method Detail
-
selectFragment
String selectFragment(String alias, String suffix)
Generate a list of collection index, key and element columns
-
countSubclassProperties
int countSubclassProperties()
How many properties are there, for this class and all subclasses?
-
getFetchMode
FetchMode getFetchMode(int i)
May this (subclass closure) property be fetched using an SQL outerjoin?
-
getCascadeStyle
CascadeStyle getCascadeStyle(int i)
Get the cascade style of this (subclass closure) property
-
isDefinedOnSubclass
boolean isDefinedOnSubclass(int i)
Is this property defined on a subclass of the mapped class.
-
getSubclassPropertyType
Type getSubclassPropertyType(int i)
Get the type of the numbered property of the class or a subclass.
-
getSubclassPropertyName
String getSubclassPropertyName(int i)
Get the name of the numbered property of the class or a subclass.
-
isSubclassPropertyNullable
boolean isSubclassPropertyNullable(int i)
Is the numbered property of the class of subclass nullable?
-
getSubclassPropertyColumnNames
String[] getSubclassPropertyColumnNames(int i)
Return the column names used to persist the numbered property of the class or a subclass.
-
getSubclassPropertyTableName
String getSubclassPropertyTableName(int i)
Return the table name used to persist the numbered property of the class or a subclass.
-
toColumns
String[] toColumns(String name, int i)
Given the number of a property of a subclass, and a table alias, return the aliased column names.
-
fromTableFragment
String fromTableFragment(String alias)
Get the main from table fragment, given a query alias.
-
getPropertyColumnNames
String[] getPropertyColumnNames(String propertyPath)
Get the column names for the given property path
-
getPropertyTableName
String getPropertyTableName(String propertyName)
Get the table name for the given property path
-
getEntityType
EntityType getEntityType()
-
-