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()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection
createCollection(PersistentClass persistentClass)
SecondPass
getSecondPass(Ejb3JoinColumn[] fkJoinColumns, Ejb3JoinColumn[] keyColumns, Ejb3JoinColumn[] inverseColumns, Ejb3Column[] elementColumns, Ejb3Column[] mapKeyColumns, Ejb3JoinColumn[] mapKeyManyToManyColumns, boolean isEmbedded, org.hibernate.annotations.common.reflection.XProperty property, org.hibernate.annotations.common.reflection.XClass collType, NotFoundAction notFoundAction, boolean unique, TableBinder assocTableBinder, MetadataBuildingContext buildingContext)
void
setSort(Sort sortAnn)
void
setSqlOrderBy(OrderBy orderByAnn)
-
Methods inherited from class org.hibernate.cfg.annotations.CollectionBinder
adjustUserSuppliedValueCollectionOrderingFragment, bind, bindManytoManyInverseFk, bindOneToManySecondPass, bindStarToManySecondPass, getBuildingContext, getCollection, getCollectionBinder, getNotFoundAction, isHibernateExtensionMapping, isMap, setAccessType, setBatchSize, setBuildingContext, setCache, setCascadeDeleteEnabled, setCascadeStrategy, setCollectionType, setComparatorSort, setDeclaringClass, setElementColumns, 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
-
-
-
-
Method Detail
-
createCollection
protected Collection createCollection(PersistentClass persistentClass)
- Specified by:
createCollection
in classCollectionBinder
-
setSqlOrderBy
public void setSqlOrderBy(OrderBy orderByAnn)
- Overrides:
setSqlOrderBy
in classCollectionBinder
-
setSort
public void setSort(Sort sortAnn)
- Overrides:
setSort
in classCollectionBinder
-
getSecondPass
public SecondPass getSecondPass(Ejb3JoinColumn[] fkJoinColumns, Ejb3JoinColumn[] keyColumns, Ejb3JoinColumn[] inverseColumns, Ejb3Column[] elementColumns, Ejb3Column[] mapKeyColumns, Ejb3JoinColumn[] mapKeyManyToManyColumns, boolean isEmbedded, org.hibernate.annotations.common.reflection.XProperty property, org.hibernate.annotations.common.reflection.XClass collType, NotFoundAction notFoundAction, boolean unique, TableBinder assocTableBinder, MetadataBuildingContext buildingContext)
- Overrides:
getSecondPass
in classCollectionBinder
-
-