Package org.hibernate.cfg.annotations
Class ListBinder
- java.lang.Object
-
- org.hibernate.cfg.annotations.CollectionBinder
-
- org.hibernate.cfg.annotations.ListBinder
-
- Direct Known Subclasses:
ArrayBinder
public class ListBinder extends CollectionBinder
Bind a list to the underlying Hibernate configuration
-
-
Field Summary
-
Fields inherited from class org.hibernate.cfg.annotations.CollectionBinder
cascadeDeleteEnabled, collection, indexColumn, inheritanceStatePerClass, localGenerators, mapKeyPropertyName, propertyName
-
-
Constructor Summary
Constructors Constructor Description ListBinder(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, MetadataBuildingContext buildingContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection
createCollection(PersistentClass owner)
SecondPass
getSecondPass(AnnotatedJoinColumn[] fkJoinColumns, AnnotatedJoinColumn[] keyColumns, AnnotatedJoinColumn[] inverseColumns, AnnotatedColumn[] elementColumns, AnnotatedColumn[] mapKeyColumns, AnnotatedJoinColumn[] mapKeyManyToManyColumns, boolean isEmbedded, org.hibernate.annotations.common.reflection.XProperty property, org.hibernate.annotations.common.reflection.XClass elementType, NotFoundAction notFoundAction, boolean unique, TableBinder assocTableBinder, MetadataBuildingContext buildingContext)
void
setSqlOrderBy(OrderBy orderByAnn)
-
Methods inherited from class org.hibernate.cfg.annotations.CollectionBinder
adjustUserSuppliedValueCollectionOrderingFragment, bind, bindCollection, bindManytoManyInverseFk, bindOneToManySecondPass, bindStarToManySecondPass, getBuildingContext, getCollection, getCollectionBinder, getCustomTypeBeanResolver, getNotFoundAction, isHibernateExtensionMapping, isMap, resolveCustomType, setAccessType, setBatchSize, setCache, setCascadeDeleteEnabled, setCascadeStrategy, setCollectionType, setComparatorSort, setDeclaringClass, setElementColumns, setElementType, setEmbedded, setExplicitAssociationTable, setFkJoinColumns, setIgnoreNotFound, setIndexColumn, setInheritanceStatePerClass, setInsertable, setInverseJoinColumns, setIsHibernateExtensionMapping, setJoinColumns, setJpaOrderBy, setLocalGenerators, setMapKey, setMapKeyColumns, setMapKeyManyToManyColumns, setMappedBy, setNaturalSort, setNotFoundAction, setOneToMany, setProperty, setPropertyHolder, setPropertyName, setTableBinder, setTargetEntity, setUpdatable
-
-
-
-
Constructor Detail
-
ListBinder
public ListBinder(Supplier<ManagedBean<? extends UserCollectionType>> customTypeBeanResolver, MetadataBuildingContext buildingContext)
-
-
Method Detail
-
createCollection
protected Collection createCollection(PersistentClass owner)
- Specified by:
createCollection
in classCollectionBinder
-
setSqlOrderBy
public void setSqlOrderBy(OrderBy orderByAnn)
- Overrides:
setSqlOrderBy
in classCollectionBinder
-
getSecondPass
public SecondPass getSecondPass(AnnotatedJoinColumn[] fkJoinColumns, AnnotatedJoinColumn[] keyColumns, AnnotatedJoinColumn[] inverseColumns, AnnotatedColumn[] elementColumns, AnnotatedColumn[] mapKeyColumns, AnnotatedJoinColumn[] mapKeyManyToManyColumns, boolean isEmbedded, org.hibernate.annotations.common.reflection.XProperty property, org.hibernate.annotations.common.reflection.XClass elementType, NotFoundAction notFoundAction, boolean unique, TableBinder assocTableBinder, MetadataBuildingContext buildingContext)
- Overrides:
getSecondPass
in classCollectionBinder
-
-