Save This Page
Home » hibernate-distribution-3.3.1.GA-dist » org.hibernate » persister » entity » [javadoc | source]
org.hibernate.persister.entity
public interface: Joinable [javadoc | source]

All Known Implementing Classes:
    SingleTableEntityPersister, Queryable, OuterJoinLoadable, AbstractEntityPersister, BasicCollectionPersister, JoinedSubclassEntityPersister, UnionSubclassEntityPersister, SQLLoadableCollection, AbstractCollectionPersister, OneToManyPersister, QueryableCollection, BasicEntityPersister

Anything that can be loaded by outer join - namely persisters for classes or collections.
Method from org.hibernate.persister.entity.Joinable Summary:
consumesCollectionAlias,   consumesEntityAlias,   filterFragment,   fromJoinFragment,   getKeyColumnNames,   getName,   getTableName,   isCollection,   oneToManyFilterFragment,   selectFragment,   whereJoinFragment
Method from org.hibernate.persister.entity.Joinable Detail:
 public boolean consumesCollectionAlias()
    Very, very, very ugly...
 public boolean consumesEntityAlias()
    Very, very, very ugly...
 public String filterFragment(String alias,
    Map enabledFilters) throws MappingException
    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 oneToManyFilterFragment(String alias) throws MappingException
 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)