接口的使用
org.hibernate.type.AssociationType
-
使用AssociationType的程序包 程序包 说明 org.hibernate.engine.internal Support for many of the internal workings of Hibernate.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 initializersorg.hibernate.loader.criteria This package defines the criteria query compiler and loaderorg.hibernate.loader.entity This package defines entity loadersorg.hibernate.persister.walking.internal org.hibernate.persister.walking.spi org.hibernate.tuple.component org.hibernate.tuple.entity org.hibernate.type A Hibernate Type is a strategy for mapping a Java property type to a JDBC type or types. -
-
org.hibernate.engine.internal中AssociationType的使用
返回AssociationType的org.hibernate.engine.internal中的方法 修饰符和类型 方法 说明 AssociationTypeJoinSequence.Join. getAssociationType()参数类型为AssociationType的org.hibernate.engine.internal中的方法 修饰符和类型 方法 说明 JoinSequenceJoinSequence. addJoin(AssociationType associationType, String alias, JoinType joinType, String[] referencingKey)Add a join to this sequenceJoinSequenceJoinSequence. addJoin(AssociationType associationType, String alias, JoinType joinType, String[][] referencingKeys)Add a join to this sequencestatic String[]JoinHelper. getAliasedLHSColumnNames(AssociationType associationType, String columnQualifier, int propertyIndex, int begin, OuterJoinLoadable lhsPersister, Mapping mapping)Get the qualified (prefixed by alias) names of the columns of the owning entity which are to be used in the joinstatic String[]JoinHelper. getAliasedLHSColumnNames(AssociationType type, String alias, int property, OuterJoinLoadable lhsPersister, Mapping mapping)Get the qualified (prefixed by alias) names of the columns of the owning entity which are to be used in the joinstatic 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 joinstatic String[]JoinHelper. getLHSColumnNames(AssociationType type, int property, OuterJoinLoadable lhsPersister, Mapping mapping)Get the unqualified names of the columns of the owning entity which are to be used in the join.static StringJoinHelper. getLHSTableName(AssociationType type, int propertyIndex, OuterJoinLoadable lhsPersister)Determine the name of the table that is the left-hand-side of the join.static String[]JoinHelper. getRHSColumnNames(AssociationType type, SessionFactoryImplementor factory)Get the columns of the associated table which are to be used in the join -
org.hibernate.hql.internal.ast.util中AssociationType的使用
返回AssociationType的org.hibernate.hql.internal.ast.util中的方法 修饰符和类型 方法 说明 AssociationTypeSessionFactoryHelper. getElementAssociationType(CollectionType collectionType)Essentially the same asSessionFactoryHelper.getElementType(org.hibernate.type.CollectionType), but requiring that the element type be an association type.参数类型为AssociationType的org.hibernate.hql.internal.ast.util中的方法 修饰符和类型 方法 说明 JoinSequenceSessionFactoryHelper. createJoinSequence(boolean implicit, AssociationType associationType, String tableAlias, JoinType joinType, String[] columns)Generate a join sequence representing the given association type.JoinSequenceSessionFactoryHelper. createJoinSequence(boolean implicit, AssociationType associationType, String tableAlias, JoinType joinType, String[][] columns)Generate a join sequence representing the given association type. -
org.hibernate.loader中AssociationType的使用
返回AssociationType的org.hibernate.loader中的方法 修饰符和类型 方法 说明 AssociationTypeOuterJoinableAssociation. getJoinableType()参数类型为AssociationType的org.hibernate.loader中的方法 修饰符和类型 方法 说明 static OuterJoinableAssociationOuterJoinableAssociation. createRoot(AssociationType joinableType, String alias, SessionFactoryImplementor factory)protected JoinTypeJoinWalker. 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 JoinTypeJoinWalker. 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 booleanJoinWalker. isDuplicateAssociation(String lhsTable, String[] lhsColumnNames, AssociationType type)Used to detect circularities in the joined graph, note that this method is side-effectyprotected booleanJoinWalker. isJoinable(JoinType joinType, Set visitedAssociationKeys, String lhsTable, String[] lhsColumnNames, AssociationType type, int depth)Should we join this association?protected booleanAbstractEntityJoinWalker. isJoinedFetchEnabled(AssociationType type, FetchMode config, CascadeStyle cascadeStyle)The superclass deliberately excludes collectionsprotected booleanJoinWalker. isJoinedFetchEnabled(AssociationType type, FetchMode config, CascadeStyle cascadeStyle)Override on subclasses to enable or suppress joining of certain association typesprotected booleanJoinWalker. isJoinedFetchEnabledInMapping(FetchMode config, AssociationType type)Does the mapping, and Hibernate default semantics, specify that this association should be fetched by outer joining参数类型为AssociationType的org.hibernate.loader中的构造器 构造器 说明 OuterJoinableAssociation(PropertyPath propertyPath, AssociationType joinableType, String lhsAlias, String[] lhsColumns, String rhsAlias, JoinType joinType, String withClause, boolean hasRestriction, SessionFactoryImplementor factory, Map enabledFilters) -
org.hibernate.loader.collection中AssociationType的使用
参数类型为AssociationType的org.hibernate.loader.collection中的方法 修饰符和类型 方法 说明 protected JoinTypeBasicCollectionJoinWalker. getJoinType(OuterJoinLoadable persister, PropertyPath path, int propertyNumber, AssociationType associationType, FetchMode metadataFetchMode, CascadeStyle metadataCascadeStyle, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth) -
org.hibernate.loader.criteria中AssociationType的使用
参数类型为AssociationType的org.hibernate.loader.criteria中的方法 修饰符和类型 方法 说明 protected JoinTypeCriteriaJoinWalker. getJoinType(OuterJoinLoadable persister, PropertyPath path, int propertyNumber, AssociationType associationType, FetchMode metadataFetchMode, CascadeStyle metadataCascadeStyle, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth)protected JoinTypeCriteriaJoinWalker. getJoinType(AssociationType associationType, FetchMode config, PropertyPath path, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth, CascadeStyle cascadeStyle) -
org.hibernate.loader.entity中AssociationType的使用
参数类型为AssociationType的org.hibernate.loader.entity中的方法 修饰符和类型 方法 说明 protected JoinTypeEntityJoinWalker. getJoinType(OuterJoinLoadable persister, PropertyPath path, int propertyNumber, AssociationType associationType, FetchMode metadataFetchMode, CascadeStyle metadataCascadeStyle, String lhsTable, String[] lhsColumns, boolean nullable, int currentDepth)protected booleanCascadeEntityJoinWalker. isJoinedFetchEnabled(AssociationType type, FetchMode config, CascadeStyle cascadeStyle) -
org.hibernate.persister.walking.internal中AssociationType的使用
参数类型为AssociationType的org.hibernate.persister.walking.internal中的方法 修饰符和类型 方法 说明 static FetchStyleFetchStrategyHelper. determineFetchStyleByMetadata(FetchMode mappingFetchMode, AssociationType type, SessionFactoryImplementor sessionFactory)static FetchTimingFetchStrategyHelper. determineFetchTiming(FetchStyle style, AssociationType type, SessionFactoryImplementor sessionFactory) -
org.hibernate.persister.walking.spi中AssociationType的使用
返回AssociationType的org.hibernate.persister.walking.spi中的方法 修饰符和类型 方法 说明 AssociationTypeAssociationAttributeDefinition. getType() -
org.hibernate.tuple.component中AssociationType的使用
返回AssociationType的org.hibernate.tuple.component中的方法 修饰符和类型 方法 说明 AssociationTypeCompositeBasedAssociationAttribute. getType()参数类型为AssociationType的org.hibernate.tuple.component中的方法 修饰符和类型 方法 说明 protected FetchStyleCompositeBasedAssociationAttribute. determineFetchStyleByMetadata(FetchMode fetchMode, AssociationType type)参数类型为AssociationType的org.hibernate.tuple.component中的构造器 构造器 说明 CompositeBasedAssociationAttribute(AbstractCompositionAttribute source, SessionFactoryImplementor factory, int entityBasedAttributeNumber, String attributeName, AssociationType attributeType, BaselineAttributeInformation baselineInfo, int subAttributeNumber, AssociationKey associationKey) -
org.hibernate.tuple.entity中AssociationType的使用
返回AssociationType的org.hibernate.tuple.entity中的方法 修饰符和类型 方法 说明 AssociationTypeEntityBasedAssociationAttribute. getType()参数类型为AssociationType的org.hibernate.tuple.entity中的构造器 构造器 说明 EntityBasedAssociationAttribute(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, String attributeName, AssociationType attributeType, BaselineAttributeInformation baselineInfo) -
org.hibernate.type中AssociationType的使用
实现AssociationType的org.hibernate.type中的类 修饰符和类型 类 说明 classAnyTypeHandles "any" mappingsclassArrayTypeA type for persistent arrays.classBagTypeclassCollectionTypeA type that handles Hibernate PersistentCollections (including arrays).classCustomCollectionTypeA custom type for mapping user-written classes that implement PersistentCollectionclassEntityTypeBase for types which map associations to persistent entities.classIdentifierBagTypeclassListTypeclassManyToOneTypeA many-to-one association to an entity.classMapTypeclassObjectTypeSpecific adaptation of the "any" type to the old deprecated "object" typeclassOneToOneTypeA one-to-one association to an entityclassOrderedMapTypeA specialization of the map type, with (resultset-based) ordering.classOrderedSetTypeA specialization of the set type, with (resultset-based) ordering.classSetTypeclassSortedMapTypeclassSortedSetTypeclassSpecialOneToOneTypeA one-to-one association that maps to specific formula(s) instead of the primary key column of the owning entity.
-