站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

Uses of Interface org.hibernate.type.AssociationType (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


Uses of Interface
org.hibernate.type.AssociationType

Packages that use AssociationType
org.hibernate.engine This package contains classes that are "shared" by other packages, and implementations of some key algorithms. 
org.hibernate.hql.ast.util   
org.hibernate.loader This package defines functionality for processing JDBC result sets and returning complex graphs of persistent objects. 
org.hibernate.loader.collection This package defines collection initializers  
org.hibernate.loader.criteria This package defines the criteria query compiler and loader  
org.hibernate.loader.entity This package defines entity loaders  
org.hibernate.type A Hibernate Type is a strategy for mapping a Java property type to a JDBC type or types. 
 

Uses of AssociationType in org.hibernate.engine
 

Methods in org.hibernate.engine with parameters of type AssociationType
 JoinSequence JoinSequence.addJoin(AssociationType associationType, String alias, int joinType, String[] referencingKey)
           
static String[] JoinHelper.getAliasedLHSColumnNames(AssociationType type, String alias, int property, OuterJoinLoadable lhsPersister, Mapping mapping)
          Get the aliased columns of the owning entity which are to be used in the join
static String[] JoinHelper.getLHSColumnNames(AssociationType type, int property, OuterJoinLoadable lhsPersister, Mapping mapping)
          Get the columns of the owning entity which are to be used in the join
static String[] JoinHelper.getAliasedLHSColumnNames(AssociationType type, String alias, int property, int begin, OuterJoinLoadable lhsPersister, Mapping mapping)
          Get the aliased columns of the owning entity which are to be used in the join
static String[] JoinHelper.getLHSColumnNames(AssociationType type, int property, int begin, OuterJoinLoadable lhsPersister, Mapping mapping)
          Get the columns of the owning entity which are to be used in the join
static String JoinHelper.getLHSTableName(AssociationType type, int property, OuterJoinLoadable lhsPersister)
           
static String[] JoinHelper.getRHSColumnNames(AssociationType type, SessionFactoryImplementor factory)
          Get the columns of the associated table which are to be used in the join
 

Uses of AssociationType in org.hibernate.hql.ast.util
 

Methods in org.hibernate.hql.ast.util that return AssociationType
 AssociationType SessionFactoryHelper.getElementAssociationType(CollectionType collectionType)
          Essentially the same as #getElementType, but requiring that the element type be an association type.
 

Methods in org.hibernate.hql.ast.util with parameters of type AssociationType
 JoinSequence SessionFactoryHelper.createJoinSequence(boolean implicit, AssociationType associationType, String tableAlias, int joinType, String[] columns)
          Generate a join sequence representing the given association type.
 

Uses of AssociationType in org.hibernate.loader
 

Methods in org.hibernate.loader that return AssociationType
 AssociationType OuterJoinableAssociation.getJoinableType()
           
 

Methods in org.hibernate.loader with parameters of type AssociationType
protected  int JoinWalker.getJoinType(AssociationType type, FetchMode config, String path, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth, CascadeStyle cascadeStyle)
          Get the join type (inner, outer, etc) or -1 if the association should not be joined.
protected  boolean JoinWalker.isJoinedFetchEnabledInMapping(FetchMode config, AssociationType type)
          Does the mapping, and Hibernate default semantics, specify that this association should be fetched by outer joining
protected  boolean JoinWalker.isJoinedFetchEnabled(AssociationType type, FetchMode config, CascadeStyle cascadeStyle)
          Override on subclasses to enable or suppress joining of certain association types
protected  boolean JoinWalker.isDuplicateAssociation(String lhsTable, String[] lhsColumnNames, AssociationType type)
          Used to detect circularities in the joined graph, note that this method is side-effecty
protected  boolean JoinWalker.isJoinable(int joinType, Set visitedAssociationKeys, String lhsTable, String[] lhsColumnNames, AssociationType type, int depth)
          Should we join this association?
protected  boolean AbstractEntityJoinWalker.isJoinedFetchEnabled(AssociationType type, FetchMode config, CascadeStyle cascadeStyle)
          The superclass deliberately excludes collections
 

Constructors in org.hibernate.loader with parameters of type AssociationType
OuterJoinableAssociation(AssociationType joinableType, String lhsAlias, String[] lhsColumns, String rhsAlias, int joinType, SessionFactoryImplementor factory, Map enabledFilters)
           
 

Uses of AssociationType in org.hibernate.loader.collection
 

Methods in org.hibernate.loader.collection with parameters of type AssociationType
protected  int BasicCollectionJoinWalker.getJoinType(AssociationType type, FetchMode config, String path, Set visitedAssociations, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth)
          We can use an inner join for first many-to-many association
 

Uses of AssociationType in org.hibernate.loader.criteria
 

Methods in org.hibernate.loader.criteria with parameters of type AssociationType
protected  int CriteriaJoinWalker.getJoinType(AssociationType type, FetchMode config, String path, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth, CascadeStyle cascadeStyle)
           
 

Uses of AssociationType in org.hibernate.loader.entity
 

Methods in org.hibernate.loader.entity with parameters of type AssociationType
protected  boolean EntityJoinWalker.isJoinedFetchEnabled(AssociationType type, FetchMode config, CascadeStyle cascadeStyle)
          Disable outer join fetching if this loader obtains an upgrade lock mode
protected  boolean CascadeEntityJoinWalker.isJoinedFetchEnabled(AssociationType type, FetchMode config, CascadeStyle cascadeStyle)
           
 

Uses of AssociationType in org.hibernate.type
 

Classes in org.hibernate.type that implement AssociationType
 class AnyType
          Handles "any" mappings and the old deprecated "object" type
 class ArrayType
          A type for persistent arrays.
 class BagType
           
 class CollectionType
          A type that handles Hibernate PersistentCollections (including arrays).
 class CustomCollectionType
          A custom type for mapping user-written classes that implement PersistentCollection
 class EntityType
          Base for types which map associations to persistent entities.
 class IdentifierBagType
           
 class ListType
           
 class ManyToOneType
          A many-to-one association to an entity.
 class MapType
           
 class OneToOneType
          A one-to-one association to an entity
 class OrderedMapType
           
 class OrderedSetType
           
 class SetType
           
 class SortedMapType
           
 class SortedSetType
           
 class SpecialOneToOneType
          A one-to-one association that maps to specific formula(s) instead of the primary key column of the owning entity.