Top Description Fields Methods
org.hibernate.persister.entity

public Interface OuterJoinLoadable

extends Loadable, Joinable
Known Direct Implementers
org.hibernate.persister.entity.AbstractEntityPersister
Imports
org.hibernate.FetchMode, org.hibernate.engine.spi.CascadeStyle, org.hibernate.type.EntityType, .Type

A EntityPersister that may be loaded by outer join using the OuterJoinLoader hierarchy and may be an element of a one-to-many association.
Author
Gavin King
See Also
org.hibernate.loader.OuterJoinLoader

Field Summary

Inherited from org.hibernate.persister.entity.Loadable:
ROWID_ALIAS

Method Summary

Modifier and TypeMethod and Description
public int
countSubclassProperties()

How many properties are there, for this class and all subclasses?

public String
fromTableFragment(String alias)

Get the main from table fragment, given a query alias.

public CascadeStyle
getCascadeStyle(int i)

Get the cascade style of this (subclass closure) property

public EntityType
public FetchMode
getFetchMode(int i)

May this (subclass closure) property be fetched using an SQL outerjoin?

public String[]
getPropertyColumnNames(String propertyPath)

Get the column names for the given property path

public String
getPropertyTableName(String propertyName)

Get the table name for the given property path

public String[]
getSubclassPropertyColumnNames(int i)

Return the column names used to persist the numbered property of the class or a subclass.

public String
getSubclassPropertyName(int i)

Get the name of the numbered property of the class or a subclass.

public String
getSubclassPropertyTableName(int i)

Return the table name used to persist the numbered property of the class or a subclass.

public Type
getSubclassPropertyType(int i)

Get the type of the numbered property of the class or a subclass.

public boolean
isDefinedOnSubclass(int i)

Is this property defined on a subclass of the mapped class.

public boolean
isSubclassPropertyNullable(int i)

Is the numbered property of the class of subclass nullable?

public String
selectFragment(String alias, String suffix)

Generate a list of collection index, key and element columns

public String[]
toColumns(String name, int i)

Given the number of a property of a subclass, and a table alias, return the aliased column names.

Inherited from org.hibernate.persister.entity.Joinable:
consumesCollectionAliasconsumesEntityAliasfilterFragmentfilterFragmentfromJoinFragmentfromJoinFragmentfromJoinFragmentgetKeyColumnNamesgetNamegetTableNameisCollectiononeToManyFilterFragmentoneToManyFilterFragmentselectFragmentwhereJoinFragmentwhereJoinFragment
Inherited from org.hibernate.persister.entity.Loadable:
getDiscriminatorAliasgetDiscriminatorColumnNamegetDiscriminatorTypegetDiscriminatorValuegetIdentifierAliasesgetIdentifierColumnNamesgetPropertyAliasesgetPropertyColumnNamesgetSubclassForDiscriminatorValuegetTableAliasForColumnhasRowIdhasSubclasseshydratehydrateisAbstractregisterAffectingFetchProfile

Method Detail

countSubclassPropertiesback to summary
public int countSubclassProperties()

How many properties are there, for this class and all subclasses?

fromTableFragmentback to summary
public String fromTableFragment(String alias)

Get the main from table fragment, given a query alias.

getCascadeStyleback to summary
public CascadeStyle getCascadeStyle(int i)

Get the cascade style of this (subclass closure) property

getEntityTypeback to summary
public EntityType getEntityType()
getFetchModeback to summary
public FetchMode getFetchMode(int i)

May this (subclass closure) property be fetched using an SQL outerjoin?

getPropertyColumnNamesback to summary
public String[] getPropertyColumnNames(String propertyPath)

Get the column names for the given property path

getPropertyTableNameback to summary
public String getPropertyTableName(String propertyName)

Get the table name for the given property path

getSubclassPropertyColumnNamesback to summary
public String[] getSubclassPropertyColumnNames(int i)

Return the column names used to persist the numbered property of the class or a subclass.

getSubclassPropertyNameback to summary
public String getSubclassPropertyName(int i)

Get the name of the numbered property of the class or a subclass.

getSubclassPropertyTableNameback to summary
public String getSubclassPropertyTableName(int i)

Return the table name used to persist the numbered property of the class or a subclass.

getSubclassPropertyTypeback to summary
public Type getSubclassPropertyType(int i)

Get the type of the numbered property of the class or a subclass.

isDefinedOnSubclassback to summary
public boolean isDefinedOnSubclass(int i)

Is this property defined on a subclass of the mapped class.

isSubclassPropertyNullableback to summary
public boolean isSubclassPropertyNullable(int i)

Is the numbered property of the class of subclass nullable?

selectFragmentback to summary
public String selectFragment(String alias, String suffix)

Generate a list of collection index, key and element columns

toColumnsback to summary
public String[] toColumns(String name, int i)

Given the number of a property of a subclass, and a table alias, return the aliased column names.