Uses of Class
org.hibernate.boot.model.internal.AnnotatedJoinColumns
Packages that use AnnotatedJoinColumns
Package
Description
This package defines the Hibernate configuration-time mapping model.
-
Uses of AnnotatedJoinColumns in org.hibernate.boot.model.internal
Fields in org.hibernate.boot.model.internal declared as AnnotatedJoinColumnsModifier and TypeFieldDescriptionprotected AnnotatedJoinColumnsCollectionBinder.foreignJoinColumnsprotected AnnotatedJoinColumnsCollectionBinder.inverseJoinColumnsprotected AnnotatedJoinColumnsCollectionBinder.mapKeyManyToManyColumnsMethods in org.hibernate.boot.model.internal that return AnnotatedJoinColumnsModifier and TypeMethodDescriptionstatic AnnotatedJoinColumnsAnnotatedJoinColumns.buildJoinColumns(JoinColumn[] joinColumns, String mappedBy, Map<String, Join> joins, PropertyHolder propertyHolder, PropertyData inferredData, MetadataBuildingContext buildingContext) static AnnotatedJoinColumnsAnnotatedJoinColumns.buildJoinColumnsOrFormulas(JoinColumnOrFormula[] joinColumnOrFormulas, String mappedBy, Map<String, Join> joins, PropertyHolder propertyHolder, PropertyData inferredData, MetadataBuildingContext context) static AnnotatedJoinColumnsAnnotatedJoinColumns.buildJoinColumnsWithDefaultColumnSuffix(JoinColumn[] joinColumns, String mappedBy, Map<String, Join> joins, PropertyHolder propertyHolder, PropertyData inferredData, String defaultColumnSuffix, MetadataBuildingContext context) static AnnotatedJoinColumnsAnnotatedJoinColumns.buildJoinTableJoinColumns(JoinColumn[] joinColumns, Map<String, Join> secondaryTables, PropertyHolder propertyHolder, PropertyData inferredData, String mappedBy, MetadataBuildingContext context) Called for join tables inManyToManyassociations.AnnotatedJoinColumn.getParent()Methods in org.hibernate.boot.model.internal with parameters of type AnnotatedJoinColumnsModifier and TypeMethodDescriptionstatic voidCollectionBinder.bindCollection(PropertyHolder propertyHolder, Nullability nullability, PropertyData inferredData, EntityBinder entityBinder, boolean isIdentifierMapper, MetadataBuildingContext context, Map<org.hibernate.models.spi.ClassDetails, InheritanceState> inheritanceStatePerClass, AnnotatedJoinColumns joinColumns) The first pass at binding a collection.static voidTableBinder.bindForeignKey(PersistentClass referencedEntity, PersistentClass destinationEntity, AnnotatedJoinColumns joinColumns, SimpleValue value, boolean unique, MetadataBuildingContext buildingContext) voidCollectionBinder.bindManyToManyInverseForeignKey(PersistentClass targetEntity, AnnotatedJoinColumns joinColumns, SimpleValue value, boolean unique) Bind the inverse foreign key of aManyToMany, that is, the columns specified by@JoinTable(inverseJoinColumns=...), which are the columns that reference the target entity of the many-to-many association.static AnyBinderHelper.buildAnyValue(Column discriminatorColumn, Formula discriminatorFormula, AnnotatedJoinColumns keyColumns, PropertyData inferredData, OnDeleteAction onDeleteAction, boolean lazy, Nullability nullability, PropertyHolder propertyHolder, EntityBinder entityBinder, boolean optional, MetadataBuildingContext context) static AnnotatedJoinColumnAnnotatedJoinColumn.buildInheritanceJoinColumn(PrimaryKeyJoinColumn primaryKeyJoinColumn, JoinColumn joinColumn, Value identifier, AnnotatedJoinColumns parent, MetadataBuildingContext context) Called forInheritanceType.JOINEDentities.static AnnotatedJoinColumnAnnotatedJoinColumn.buildJoinFormula(JoinFormula joinFormula, AnnotatedJoinColumns parent) static voidBinderHelper.createSyntheticPropertyReference(AnnotatedJoinColumns joinColumns, PersistentClass targetEntity, PersistentClass associatedEntity, Value value, String propertyName, boolean inverse, MetadataBuildingContext context) Here we address a fundamental problem: the@JoinColumnannotation specifies the referenced column in the target table viareferencedColumnName, but Hibernate needs to know which property or field of the target entity class holds the value of the referenced column at the Java level.static voidTableBinder.linkJoinColumnWithValueOverridingNameIfImplicit(PersistentClass referencedEntity, Value value, AnnotatedJoinColumns joinColumns, SimpleValue simpleValue) voidAnnotatedJoinColumn.setParent(AnnotatedJoinColumns parent) Constructors in org.hibernate.boot.model.internal with parameters of type AnnotatedJoinColumnsModifierConstructorDescriptionImplicitToOneJoinTableSecondPass(PropertyHolder propertyHolder, PropertyData inferredData, MetadataBuildingContext context, AnnotatedJoinColumns joinColumns, JoinTable joinTable, NotFoundAction notFoundAction, ManyToOne value) OneToOneSecondPass(String mappedBy, String ownerEntity, PropertyHolder propertyHolder, PropertyData inferredData, String referencedEntityName, boolean annotatedEntity, NotFoundAction notFoundAction, OnDeleteAction onDeleteAction, boolean optional, EnumSet<CascadeType> cascadeStrategy, AnnotatedJoinColumns columns, MetadataBuildingContext buildingContext) -
Uses of AnnotatedJoinColumns in org.hibernate.mapping
Methods in org.hibernate.mapping with parameters of type AnnotatedJoinColumnsModifier and TypeMethodDescriptionvoidSimpleValue.createForeignKey(PersistentClass referencedEntity, AnnotatedJoinColumns joinColumns) voidToOne.createForeignKey(PersistentClass referencedEntity, AnnotatedJoinColumns joinColumns)