org.hibernate.persister.entity
Interface Joinable
- OuterJoinLoadable, Queryable, QueryableCollection, SQLLoadableCollection
- AbstractCollectionPersister, AbstractEntityPersister, BasicCollectionPersister, JoinedSubclassEntityPersister, OneToManyPersister, SingleTableEntityPersister, UnionSubclassEntityPersister
public interface Joinable
Anything that can be loaded by outer join - namely
persisters for classes or collections.
boolean | consumesCollectionAlias() - Very, very, very ugly...
|
boolean | consumesEntityAlias() - Very, very, very ugly...
|
String | filterFragment(String alias, Map enabledFilters) - Get the where clause filter, given a query alias and considering enabled session filters
|
String | fromJoinFragment(String alias, boolean innerJoin, boolean includeSubclasses) - Get the from clause part of any joins
(optional operation)
|
String[] | getKeyColumnNames() - The columns to join on
|
String | getName() - An identifying name; a class name or collection role name.
|
String | getTableName() - The table to join to.
|
boolean | isCollection() - Is this instance actually a CollectionPersister?
|
String | oneToManyFilterFragment(String alias)
|
String | selectFragment(Joinable rhs, String rhsAlias, String lhsAlias, String currentEntitySuffix, String currentCollectionSuffix, boolean includeCollectionColumns) - All columns to select, when loading.
|
String | whereJoinFragment(String alias, boolean innerJoin, boolean includeSubclasses) - Get the where clause part of any joins
(optional operation)
|
consumesCollectionAlias
public boolean consumesCollectionAlias()
Very, very, very ugly...
- Does this persister "consume" collection column aliases in the result
set?
consumesEntityAlias
public boolean consumesEntityAlias()
Very, very, very ugly...
- Does this persister "consume" entity column aliases in the result
set?
filterFragment
public String filterFragment(String alias,
Map enabledFilters)
throws MappingException
Get the where clause filter, given a query alias and considering enabled session filters
fromJoinFragment
public String fromJoinFragment(String alias,
boolean innerJoin,
boolean includeSubclasses)
Get the from clause part of any joins
(optional operation)
getKeyColumnNames
public String[] getKeyColumnNames()
The columns to join on
getName
public String getName()
An identifying name; a class name or collection role name.
getTableName
public String getTableName()
The table to join to.
isCollection
public boolean isCollection()
Is this instance actually a CollectionPersister?
oneToManyFilterFragment
public String oneToManyFilterFragment(String alias)
throws MappingException
selectFragment
public String selectFragment(Joinable rhs,
String rhsAlias,
String lhsAlias,
String currentEntitySuffix,
String currentCollectionSuffix,
boolean includeCollectionColumns)
All columns to select, when loading.
whereJoinFragment
public String whereJoinFragment(String alias,
boolean innerJoin,
boolean includeSubclasses)
Get the where clause part of any joins
(optional operation)