Uses of Class
org.hibernate.cfg.Ejb3JoinColumn
-
Packages that use Ejb3JoinColumn Package Description org.hibernate.cfg org.hibernate.cfg.annotations -
-
Uses of Ejb3JoinColumn in org.hibernate.cfg
Fields in org.hibernate.cfg declared as Ejb3JoinColumn Modifier and Type Field Description protected Ejb3JoinColumn[]
FkSecondPass. columns
Methods in org.hibernate.cfg that return Ejb3JoinColumn Modifier and Type Method Description static Ejb3JoinColumn
Ejb3JoinColumn. buildJoinColumn(PrimaryKeyJoinColumn pkJoinAnn, JoinColumn joinAnn, Value identifier, java.util.Map<java.lang.String,Join> joins, PropertyHolder propertyHolder, MetadataBuildingContext context)
Build JoinColumn for a JOINED hierarchystatic Ejb3JoinColumn[]
Ejb3JoinColumn. buildJoinColumns(JoinColumn[] anns, java.lang.String mappedBy, java.util.Map<java.lang.String,Join> joins, PropertyHolder propertyHolder, java.lang.String propertyName, MetadataBuildingContext buildingContext)
static Ejb3JoinColumn[]
Ejb3JoinColumn. buildJoinColumnsOrFormulas(JoinColumnOrFormula[] anns, java.lang.String mappedBy, java.util.Map<java.lang.String,Join> joins, PropertyHolder propertyHolder, java.lang.String propertyName, MetadataBuildingContext buildingContext)
static Ejb3JoinColumn[]
Ejb3JoinColumn. buildJoinColumnsWithDefaultColumnSuffix(JoinColumn[] anns, java.lang.String mappedBy, java.util.Map<java.lang.String,Join> joins, PropertyHolder propertyHolder, java.lang.String propertyName, java.lang.String suffixForDefaultColumnName, MetadataBuildingContext buildingContext)
static Ejb3JoinColumn
Ejb3JoinColumn. buildJoinFormula(JoinFormula ann, java.lang.String mappedBy, java.util.Map<java.lang.String,Join> joins, PropertyHolder propertyHolder, java.lang.String propertyName, MetadataBuildingContext buildingContext)
build join formulastatic Ejb3JoinColumn[]
Ejb3JoinColumn. buildJoinTableJoinColumns(JoinColumn[] annJoins, java.util.Map<java.lang.String,Join> secondaryTables, PropertyHolder propertyHolder, java.lang.String propertyName, java.lang.String mappedBy, MetadataBuildingContext buildingContext)
Methods in org.hibernate.cfg with parameters of type Ejb3JoinColumn Modifier and Type Method Description static Any
BinderHelper. buildAnyValue(java.lang.String anyMetaDefName, Ejb3JoinColumn[] columns, Column metaColumn, PropertyData inferredData, boolean cascadeOnDelete, Nullability nullability, PropertyHolder propertyHolder, EntityBinder entityBinder, boolean optional, MetadataBuildingContext context)
static int
Ejb3JoinColumn. checkReferencedColumnsType(Ejb3JoinColumn[] columns, PersistentClass referencedEntity, MetadataBuildingContext context)
static void
BinderHelper. createSyntheticPropertyReference(Ejb3JoinColumn[] columns, PersistentClass ownerEntity, PersistentClass associatedEntity, Value value, boolean inverse, MetadataBuildingContext context)
Constructors in org.hibernate.cfg with parameters of type Ejb3JoinColumn Constructor Description CopyIdentifierComponentSecondPass(Component comp, java.lang.String referencedEntityName, Ejb3JoinColumn[] joinColumns, MetadataBuildingContext buildingContext)
FkSecondPass(SimpleValue value, Ejb3JoinColumn[] columns)
JoinedSubclassFkSecondPass(JoinedSubclass entity, Ejb3JoinColumn[] inheritanceJoinedColumns, SimpleValue key, MetadataBuildingContext buildingContext)
OneToOneSecondPass(java.lang.String mappedBy, java.lang.String ownerEntity, java.lang.String ownerProperty, PropertyHolder propertyHolder, PropertyData inferredData, org.hibernate.annotations.common.reflection.XClass targetEntity, boolean ignoreNotFound, boolean cascadeOnDelete, boolean optional, java.lang.String cascadeStrategy, Ejb3JoinColumn[] columns, MetadataBuildingContext buildingContext)
PkDrivenByDefaultMapsIdSecondPass(java.lang.String referencedEntityName, Ejb3JoinColumn[] columns, SimpleValue value)
ToOneFkSecondPass(ToOne value, Ejb3JoinColumn[] columns, boolean unique, java.lang.String entityClassName, java.lang.String path, MetadataBuildingContext buildingContext)
-
Uses of Ejb3JoinColumn in org.hibernate.cfg.annotations
Methods in org.hibernate.cfg.annotations with parameters of type Ejb3JoinColumn Modifier and Type Method Description static void
TableBinder. bindFk(PersistentClass referencedEntity, PersistentClass destinationEntity, Ejb3JoinColumn[] columns, SimpleValue value, boolean unique, MetadataBuildingContext buildingContext)
static void
CollectionBinder. bindManytoManyInverseFk(PersistentClass referencedEntity, Ejb3JoinColumn[] columns, SimpleValue value, boolean unique, MetadataBuildingContext buildingContext)
bind the inverse FK of a ManyToMany If we are in a mappedBy case, read the columns from the associated collection element Otherwise delegates to the usual algorithmprotected void
CollectionBinder. bindOneToManySecondPass(Collection collection, java.util.Map persistentClasses, Ejb3JoinColumn[] fkJoinColumns, org.hibernate.annotations.common.reflection.XClass collectionType, boolean cascadeDeleteEnabled, boolean ignoreNotFound, MetadataBuildingContext buildingContext, java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass)
protected boolean
CollectionBinder. bindStarToManySecondPass(java.util.Map persistentClasses, org.hibernate.annotations.common.reflection.XClass collType, Ejb3JoinColumn[] fkJoinColumns, Ejb3JoinColumn[] keyColumns, Ejb3JoinColumn[] inverseColumns, Ejb3Column[] elementColumns, boolean isEmbedded, org.hibernate.annotations.common.reflection.XProperty property, boolean unique, TableBinder associationTableBinder, boolean ignoreNotFound, MetadataBuildingContext buildingContext)
return true if it's a Fk, false if it's an association tableprotected boolean
IdBagBinder. bindStarToManySecondPass(java.util.Map persistentClasses, org.hibernate.annotations.common.reflection.XClass collType, Ejb3JoinColumn[] fkJoinColumns, Ejb3JoinColumn[] keyColumns, Ejb3JoinColumn[] inverseColumns, Ejb3Column[] elementColumns, boolean isEmbedded, org.hibernate.annotations.common.reflection.XProperty property, boolean unique, TableBinder associationTableBinder, boolean ignoreNotFound, MetadataBuildingContext buildingContext)
SecondPass
CollectionBinder. getSecondPass(Ejb3JoinColumn[] fkJoinColumns, Ejb3JoinColumn[] keyColumns, Ejb3JoinColumn[] inverseColumns, Ejb3Column[] elementColumns, Ejb3Column[] mapKeyColumns, Ejb3JoinColumn[] mapKeyManyToManyColumns, boolean isEmbedded, org.hibernate.annotations.common.reflection.XProperty property, org.hibernate.annotations.common.reflection.XClass collType, boolean ignoreNotFound, boolean unique, TableBinder assocTableBinder, MetadataBuildingContext buildingContext)
SecondPass
ListBinder. getSecondPass(Ejb3JoinColumn[] fkJoinColumns, Ejb3JoinColumn[] keyColumns, Ejb3JoinColumn[] inverseColumns, Ejb3Column[] elementColumns, Ejb3Column[] mapKeyColumns, Ejb3JoinColumn[] mapKeyManyToManyColumns, boolean isEmbedded, org.hibernate.annotations.common.reflection.XProperty property, org.hibernate.annotations.common.reflection.XClass collType, boolean ignoreNotFound, boolean unique, TableBinder assocTableBinder, MetadataBuildingContext buildingContext)
SecondPass
MapBinder. getSecondPass(Ejb3JoinColumn[] fkJoinColumns, Ejb3JoinColumn[] keyColumns, Ejb3JoinColumn[] inverseColumns, Ejb3Column[] elementColumns, Ejb3Column[] mapKeyColumns, Ejb3JoinColumn[] mapKeyManyToManyColumns, boolean isEmbedded, org.hibernate.annotations.common.reflection.XProperty property, org.hibernate.annotations.common.reflection.XClass collType, boolean ignoreNotFound, boolean unique, TableBinder assocTableBinder, MetadataBuildingContext buildingContext)
static void
TableBinder. linkJoinColumnWithValueOverridingNameIfImplicit(PersistentClass referencedEntity, java.util.Iterator columnIterator, Ejb3JoinColumn[] columns, SimpleValue value)
void
CollectionBinder. setFkJoinColumns(Ejb3JoinColumn[] ejb3JoinColumns)
void
CollectionBinder. setInverseJoinColumns(Ejb3JoinColumn[] inverseJoinColumns)
void
CollectionBinder. setJoinColumns(Ejb3JoinColumn[] joinColumns)
void
CollectionBinder. setMapKeyManyToManyColumns(Ejb3JoinColumn[] mapJoinColumns)
-