Package org.hibernate.cfg.annotations
Class MapBinder
java.lang.Object
org.hibernate.cfg.annotations.CollectionBinder
org.hibernate.cfg.annotations.MapBinder
Implementation to bind a Map
-
Field Summary
Fields inherited from class org.hibernate.cfg.annotations.CollectionBinder
cascadeDeleteEnabled, collection, hqlOrderBy, indexColumn, inheritanceStatePerClass, localGenerators, mapKeyPropertyName, propertyName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CollectioncreateCollection(PersistentClass persistentClass) protected ValuecreateFormulatedValue(Value value, Collection collection, String targetPropertyName, PersistentClass associatedClass, Mappings mappings) getSecondPass(Ejb3JoinColumn[] fkJoinColumns, Ejb3JoinColumn[] keyColumns, Ejb3JoinColumn[] inverseColumns, Ejb3Column[] elementColumns, Ejb3Column[] mapKeyColumns, Ejb3JoinColumn[] mapKeyManyToManyColumns, boolean isEmbedded, XProperty property, XClass collType, boolean ignoreNotFound, boolean unique, TableBinder assocTableBinder, Mappings mappings) booleanisMap()Methods inherited from class org.hibernate.cfg.annotations.CollectionBinder
bind, bindManytoManyInverseFk, bindManyToManySecondPass, bindOneToManySecondPass, bindStarToManySecondPass, getCollection, getCollectionBinder, getMappings, isHibernateExtensionMapping, setAccessType, setBatchSize, setCache, setCascadeDeleteEnabled, setCascadeStrategy, setCollectionType, setDeclaringClass, setEjb3OrderBy, setElementColumns, setEmbedded, setExplicitAssociationTable, setFkJoinColumns, setIgnoreNotFound, setIndexColumn, setInheritanceStatePerClass, setInsertable, setInverseJoinColumns, setIsHibernateExtensionMapping, setJoinColumns, setLocalGenerators, setMapKey, setMapKeyColumns, setMapKeyManyToManyColumns, setMappedBy, setMappings, setOneToMany, setProperty, setPropertyHolder, setPropertyName, setSort, setSqlOrderBy, setTableBinder, setTargetEntity, setUpdatable
-
Constructor Details
-
MapBinder
public MapBinder(boolean sorted) -
MapBinder
public MapBinder()
-
-
Method Details
-
isMap
public boolean isMap()- Overrides:
isMapin classCollectionBinder
-
createCollection
- Specified by:
createCollectionin classCollectionBinder
-
getSecondPass
public SecondPass getSecondPass(Ejb3JoinColumn[] fkJoinColumns, Ejb3JoinColumn[] keyColumns, Ejb3JoinColumn[] inverseColumns, Ejb3Column[] elementColumns, Ejb3Column[] mapKeyColumns, Ejb3JoinColumn[] mapKeyManyToManyColumns, boolean isEmbedded, XProperty property, XClass collType, boolean ignoreNotFound, boolean unique, TableBinder assocTableBinder, Mappings mappings) - Overrides:
getSecondPassin classCollectionBinder
-
createFormulatedValue
protected Value createFormulatedValue(Value value, Collection collection, String targetPropertyName, PersistentClass associatedClass, Mappings mappings)
-