Class IdBagBinder
- java.lang.Object
-
- org.hibernate.boot.model.internal.CollectionBinder
-
- org.hibernate.boot.model.internal.BagBinder
-
- org.hibernate.boot.model.internal.IdBagBinder
-
public class IdBagBinder extends BagBinder
-
-
Field Summary
-
Fields inherited from class org.hibernate.boot.model.internal.CollectionBinder
collection, foreignJoinColumns, hasMapKeyProperty, indexColumn, inheritanceStatePerClass, inverseJoinColumns, isEmbedded, localGenerators, mapKeyColumns, mapKeyManyToManyColumns, mapKeyPropertyName, notFoundAction, onDeleteAction, property, propertyHolder, propertyName
-
-
Constructor Summary
Constructors Constructor Description IdBagBinder(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, MetadataBuildingContext buildingContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanbindStarToManySecondPass(Map<String,PersistentClass> persistentClasses)return true if it's a Fk, false if it's an association tableprotected CollectioncreateCollection(PersistentClass owner)-
Methods inherited from class org.hibernate.boot.model.internal.CollectionBinder
adjustUserSuppliedValueCollectionOrderingFragment, bind, bindCollection, bindManyToManyInverseForeignKey, bindOneToManySecondPass, getBuildingContext, getCollection, getCollectionBinder, getCustomTypeBeanResolver, getNotFoundAction, isHibernateExtensionMapping, isMap, resolveCustomType, setAccessType, setBatchSize, setCache, setCascadeStrategy, setComparatorSort, setDeclaringClass, setElementColumns, setElementType, setEmbedded, setExplicitAssociationTable, setFkJoinColumns, setIndexColumn, setInheritanceStatePerClass, setInsertable, setInverseJoinColumns, setIsHibernateExtensionMapping, setJoinColumns, setJpaOrderBy, setLocalGenerators, setMapKey, setMapKeyColumns, setMapKeyManyToManyColumns, setMappedBy, setNaturalSort, setNotFoundAction, setOnDeleteActionAction, setOneToMany, setProperty, setPropertyHolder, setPropertyName, setSqlOrderBy, setTableBinder, setTargetEntity, setUpdatable
-
-
-
-
Constructor Detail
-
IdBagBinder
public IdBagBinder(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, MetadataBuildingContext buildingContext)
-
-
Method Detail
-
createCollection
protected Collection createCollection(PersistentClass owner)
- Overrides:
createCollectionin classBagBinder
-
bindStarToManySecondPass
protected boolean bindStarToManySecondPass(Map<String,PersistentClass> persistentClasses)
Description copied from class:CollectionBinderreturn true if it's a Fk, false if it's an association table- Overrides:
bindStarToManySecondPassin classCollectionBinder
-
-