Class IdBagBinder
java.lang.Object
org.hibernate.boot.model.internal.CollectionBinder
org.hibernate.boot.model.internal.BagBinder
org.hibernate.boot.model.internal.IdBagBinder
-
Field Summary
Fields inherited from class org.hibernate.boot.model.internal.CollectionBinder
collection, declaringClass, foreignJoinColumns, hasMapKeyProperty, indexColumn, inheritanceStatePerClass, inverseJoinColumns, isEmbedded, localGenerators, mapKeyColumns, mapKeyManyToManyColumns, mapKeyPropertyName, notFoundAction, onDeleteAction, property, propertyHolder, propertyName
-
Constructor Summary
ConstructorsConstructorDescriptionIdBagBinder
(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, MetadataBuildingContext buildingContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
bindStarToManySecondPass
(Map<String, PersistentClass> persistentClasses) protected Collection
createCollection
(PersistentClass owner) Methods inherited from class org.hibernate.boot.model.internal.CollectionBinder
bindCollection, bindManyToManyInverseForeignKey, bindOneToManySecondPass, getBuildingContext, isHibernateExtensionMapping, mappingDefinedAttributeOverrideOnElement, setIsHibernateExtensionMapping
-
Constructor Details
-
IdBagBinder
public IdBagBinder(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, MetadataBuildingContext buildingContext)
-
-
Method Details
-
createCollection
- Overrides:
createCollection
in classBagBinder
-
bindStarToManySecondPass
- Overrides:
bindStarToManySecondPass
in classCollectionBinder
- Returns:
- true if it's a foreign key, false if it's an association table
-