Top Description Methods
org.hibernate.boot.model.convert.spi

public Interface ConverterAutoApplyHandler

Known Direct Implementers
org.hibernate.boot.model.convert.internal.AttributeConverterManager
Annotations
@Incubating
Imports
org.hibernate.Incubating, org.hibernate.annotations.common.reflection.XProperty, org.hibernate.boot.spi.MetadataBuildingContext, jakarta.persistence.Converter

Manages resolution of auto-applied jakarta.persistence.AttributeConverter references for specific mappings
Author
Steve Ebersole
See Also
Converter#autoApply()

Method Summary

Modifier and TypeMethod and Description
public ConverterDescriptor
findAutoApplyConverterForAttribute(XProperty
The HCANN descriptor for the basic attribute
property
,
MetadataBuildingContext context)

Resolve the auto-applied converter to be applied to a basic attribute described by the passed property descriptor.

public ConverterDescriptor
findAutoApplyConverterForCollectionElement(XProperty
The HCANN descriptor for the plural attribute
property
,
MetadataBuildingContext context)

Resolve the auto-applied converter to be applied to the elements of a plural attribute described by the passed property descriptor.

public ConverterDescriptor
findAutoApplyConverterForMapKey(XProperty
The HCANN descriptor for the Map-typed plural attribute
property
,
MetadataBuildingContext context)

Resolve the auto-applied converter to be applied to the keys of a plural Map attribute described by the passed property descriptor.

Method Detail

findAutoApplyConverterForAttributeback to summary
public ConverterDescriptor findAutoApplyConverterForAttribute(XProperty property, MetadataBuildingContext context)

Resolve the auto-applied converter to be applied to a basic attribute described by the passed property descriptor. null indicates that no auto-applied converter matched

Parameters
property:XProperty

The HCANN descriptor for the basic attribute

findAutoApplyConverterForCollectionElementback to summary
public ConverterDescriptor findAutoApplyConverterForCollectionElement(XProperty property, MetadataBuildingContext context)

Resolve the auto-applied converter to be applied to the elements of a plural attribute described by the passed property descriptor. null indicates that no auto-applied converter matched

Parameters
property:XProperty

The HCANN descriptor for the plural attribute

findAutoApplyConverterForMapKeyback to summary
public ConverterDescriptor findAutoApplyConverterForMapKey(XProperty property, MetadataBuildingContext context)

Resolve the auto-applied converter to be applied to the keys of a plural Map attribute described by the passed property descriptor. null indicates that no auto-applied converter matched

Parameters
property:XProperty

The HCANN descriptor for the Map-typed plural attribute