Top Description Constructors Methods
org.hibernate.boot.model.internal

public Class IdBagBinder

extends BagBinder
Class Inheritance
Imports
java.util.Collections, .Map, java.util.function.Supplier, org.hibernate.MappingException, org.hibernate.annotations.CollectionId, org.hibernate.boot.spi.MetadataBuildingContext, .PropertyData, .SecondPass, org.hibernate.mapping.BasicValue, .Collection, .IdentifierBag, .IdentifierCollection, .PersistentClass, .Table, org.hibernate.resource.beans.spi.ManagedBean, org.hibernate.usertype.UserCollectionType, jakarta.persistence.Column

A CollectionBinder for id bags whose mapping model type is org.hibernate.mapping.IdentifierBag.
Author
Emmanuel Bernard

Constructor Summary

AccessConstructor and Description
public
IdBagBinder(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, MetadataBuildingContext buildingContext)

Method Summary

Modifier and TypeMethod and Description
protected boolean
bindStarToManySecondPass(Map<String, PersistentClass> persistentClasses)

Overrides org.hibernate.boot.model.internal.CollectionBinder.bindStarToManySecondPass.

return true if it's a Fk, false if it's an association table
protected Collection

Constructor Detail

IdBagBinderback to summary
public IdBagBinder(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, MetadataBuildingContext buildingContext)

Method Detail

bindStarToManySecondPassback to summary
protected boolean bindStarToManySecondPass(Map<String, PersistentClass> persistentClasses)

Overrides org.hibernate.boot.model.internal.CollectionBinder.bindStarToManySecondPass.

Doc from org.hibernate.boot.model.internal.CollectionBinder.bindStarToManySecondPass.

return true if it's a Fk, false if it's an association table

Annotations
@Override
createCollectionback to summary
protected Collection createCollection(PersistentClass owner)

Overrides org.hibernate.boot.model.internal.BagBinder.createCollection.

Annotations
@Override