Top Description Methods
org.hibernate.persister.entity

public Interface Joinable

Known Direct Subinterfaces
org.hibernate.persister.entity.OuterJoinLoadable, org.hibernate.persister.entity.Queryable, org.hibernate.persister.collection.QueryableCollection
Imports
org.hibernate.MappingException, java.util.Map

Anything that can be loaded by outer join - namely persisters for classes or collections.
Author
Gavin King

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

Does this persister "consume" collection column aliases in the result set?
consumesCollectionAlias
()

Very, very, very ugly...

public boolean

Returns:

Does this persister "consume" entity column aliases in the result set?
consumesEntityAlias
()

Very, very, very ugly...

public String
filterFragment(String alias, Map<K, V> enabledFilters)

Get the where clause filter, given a query alias and considering enabled session filters

public String
fromJoinFragment(String alias, boolean innerJoin, boolean includeSubclasses)

Get the from clause part of any joins (optional operation)

public String[]
getKeyColumnNames()

The columns to join on

public String
getName()

An identifying name; a class name or collection role name.

public String
getTableName()

The table to join to.

public boolean
isCollection()

Is this instance actually a CollectionPersister?

public String
public String
selectFragment(Joinable rhs, String rhsAlias, String lhsAlias, String currentEntitySuffix, String currentCollectionSuffix, boolean includeCollectionColumns)

All columns to select, when loading.

public String
whereJoinFragment(String alias, boolean innerJoin, boolean includeSubclasses)

Get the where clause part of any joins (optional operation)

Method Detail

consumesCollectionAliasback to summary
public boolean consumesCollectionAlias()

Very, very, very ugly...

Returns:boolean

Does this persister "consume" collection column aliases in the result set?

consumesEntityAliasback to summary
public boolean consumesEntityAlias()

Very, very, very ugly...

Returns:boolean

Does this persister "consume" entity column aliases in the result set?

filterFragmentback to summary
public String filterFragment(String alias, Map<K, V> enabledFilters) throws MappingException

Get the where clause filter, given a query alias and considering enabled session filters

fromJoinFragmentback to summary
public String fromJoinFragment(String alias, boolean innerJoin, boolean includeSubclasses)

Get the from clause part of any joins (optional operation)

getKeyColumnNamesback to summary
public String[] getKeyColumnNames()

The columns to join on

getNameback to summary
public String getName()

An identifying name; a class name or collection role name.

getTableNameback to summary
public String getTableName()

The table to join to.

isCollectionback to summary
public boolean isCollection()

Is this instance actually a CollectionPersister?

oneToManyFilterFragmentback to summary
public String oneToManyFilterFragment(String alias) throws MappingException
selectFragmentback to summary
public String selectFragment(Joinable rhs, String rhsAlias, String lhsAlias, String currentEntitySuffix, String currentCollectionSuffix, boolean includeCollectionColumns)

All columns to select, when loading.

whereJoinFragmentback to summary
public String whereJoinFragment(String alias, boolean innerJoin, boolean includeSubclasses)

Get the where clause part of any joins (optional operation)