Package org.hibernate.binder.internal
Class BatchSizeBinder
- java.lang.Object
-
- org.hibernate.binder.internal.BatchSizeBinder
-
- All Implemented Interfaces:
AttributeBinder<BatchSize>
,TypeBinder<BatchSize>
public class BatchSizeBinder extends Object implements TypeBinder<BatchSize>, AttributeBinder<BatchSize>
Binder for theBatchSize
annotation.- Since:
- 6.5
-
-
Constructor Summary
Constructors Constructor Description BatchSizeBinder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bind(BatchSize batchSize, MetadataBuildingContext context, Component embeddableClass)
Perform some custom configuration of the model relating to the given annotated embeddable class.void
bind(BatchSize batchSize, MetadataBuildingContext context, PersistentClass persistentClass)
Perform some custom configuration of the model relating to the given annotated entity class.void
bind(BatchSize batchSize, MetadataBuildingContext context, PersistentClass persistentClass, Property property)
Perform some custom configuration of the model relating to the given annotatedProperty
of the given entity class or embeddable class.
-
-
-
Method Detail
-
bind
public void bind(BatchSize batchSize, MetadataBuildingContext context, PersistentClass persistentClass)
Description copied from interface:TypeBinder
Perform some custom configuration of the model relating to the given annotated entity class.- Specified by:
bind
in interfaceTypeBinder<BatchSize>
- Parameters:
batchSize
- an annotation of the entity class that is declared as anTypeBinderType
persistentClass
- the entity class
-
bind
public void bind(BatchSize batchSize, MetadataBuildingContext context, Component embeddableClass)
Description copied from interface:TypeBinder
Perform some custom configuration of the model relating to the given annotated embeddable class.- Specified by:
bind
in interfaceTypeBinder<BatchSize>
- Parameters:
batchSize
- an annotation of the embeddable class that is declared as anTypeBinderType
embeddableClass
- the embeddable class
-
bind
public void bind(BatchSize batchSize, MetadataBuildingContext context, PersistentClass persistentClass, Property property)
Description copied from interface:AttributeBinder
Perform some custom configuration of the model relating to the given annotatedProperty
of the given entity class or embeddable class.- Specified by:
bind
in interfaceAttributeBinder<BatchSize>
- Parameters:
batchSize
- an annotation of the property that is declared as anAttributeBinderType
persistentClass
- the entity class acting as the ultimate container of the property (differs fromProperty.getPersistentClass()
in the case of a property of an embeddable class)property
- aProperty
object representing the annotated property
-
-