Uses of Interface
org.hibernate.type.AssociationType

Packages that use AssociationType
org.hibernate.engine.internal   
org.hibernate.hql.internal.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.internal
 

Methods in org.hibernate.engine.internal that return AssociationType
 AssociationType JoinSequence.Join.getAssociationType()
           
 

Methods in org.hibernate.engine.internal with parameters of type AssociationType
 JoinSequence JoinSequence.addJoin(AssociationType associationType, String alias, JoinType joinType, String[] referencingKey)
           
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.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, int begin, OuterJoinLoadable lhsPersister, Mapping mapping)
          Get the 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.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.internal.ast.util
 

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

Methods in org.hibernate.hql.internal.ast.util with parameters of type AssociationType
 JoinSequence SessionFactoryHelper.createJoinSequence(boolean implicit, AssociationType associationType, String tableAlias, JoinType 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
static OuterJoinableAssociation OuterJoinableAssociation.createRoot(AssociationType joinableType, String alias, SessionFactoryImplementor factory)
           
protected  JoinType JoinWalker.getJoinType(AssociationType associationType, FetchMode config, PropertyPath path, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth, CascadeStyle cascadeStyle)
          Determine the appropriate associationType of join (if any) to use to fetch the given association.
protected  JoinType JoinWalker.getJoinType(OuterJoinLoadable persister, PropertyPath path, int propertyNumber, AssociationType associationType, FetchMode metadataFetchMode, CascadeStyle metadataCascadeStyle, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth)
          Determine the appropriate type of join (if any) to use to fetch the given association.
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(JoinType 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
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.isJoinedFetchEnabledInMapping(FetchMode config, AssociationType type)
          Does the mapping, and Hibernate default semantics, specify that this association should be fetched by outer joining
 

Constructors in org.hibernate.loader with parameters of type AssociationType
OuterJoinableAssociation(PropertyPath propertyPath, AssociationType joinableType, String lhsAlias, String[] lhsColumns, String rhsAlias, JoinType joinType, String withClause, boolean hasRestriction, SessionFactoryImplementor factory, Map enabledFilters)
           
 

Uses of AssociationType in org.hibernate.loader.collection
 

Methods in org.hibernate.loader.collection with parameters of type AssociationType
protected  JoinType BasicCollectionJoinWalker.getJoinType(OuterJoinLoadable persister, PropertyPath path, int propertyNumber, AssociationType associationType, FetchMode metadataFetchMode, CascadeStyle metadataCascadeStyle, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth)
           
 

Uses of AssociationType in org.hibernate.loader.criteria
 

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

Uses of AssociationType in org.hibernate.loader.entity
 

Methods in org.hibernate.loader.entity with parameters of type AssociationType
protected  JoinType EntityJoinWalker.getJoinType(OuterJoinLoadable persister, PropertyPath path, int propertyNumber, AssociationType associationType, FetchMode metadataFetchMode, CascadeStyle metadataCascadeStyle, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth)
           
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
 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 ObjectType
          Specific adaptation of the "any" type to the old deprecated "object" type
 class OneToOneType
          A one-to-one association to an entity
 class OrderedMapType
          A specialization of the map type, with (resultset-based) ordering.
 class OrderedSetType
          A specialization of the set type, with (resultset-based) ordering.
 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.
 



Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.