Class IdBagBinder
java.lang.Object
org.hibernate.boot.model.internal.CollectionBinder
org.hibernate.boot.model.internal.BagBinder
org.hibernate.boot.model.internal.IdBagBinder
- Author:
- Emmanuel Bernard
-
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
ConstructorsConstructorDescriptionIdBagBinder(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, MetadataBuildingContext buildingContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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, mappingDefinedAttributeOverrideOnElement, resolveCustomType, setAccessType, 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, setQueryCacheLayout, setSqlOrder, setSqlOrderBy, setTableBinder, setTargetEntity, setUpdatable
-
Constructor Details
-
IdBagBinder
public IdBagBinder(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, MetadataBuildingContext buildingContext)
-
-
Method Details
-
createCollection
- Overrides:
createCollectionin classBagBinder
-
bindStarToManySecondPass
Description copied from class:CollectionBinderreturn true if it's a Fk, false if it's an association table- Overrides:
bindStarToManySecondPassin classCollectionBinder
-