AttributeConverter
The general paradigm is that handling converters is split into a
boot-time piece and a run-time piece.See: Description
AttributeConverter
The general paradigm is that handling converters is split into a
boot-time piece and a run-time piece. This package defines the
boot-time piece. Specifically the boot-time representation of a
converter is ConverterDescriptor
.
Another important aspect is managing the resolution of auto-applied
converters which is handled by coordination between
AutoApplicableConverterDescriptor
and ConverterAutoApplyHandler
The run-time piece is defined by
JpaAttributeConverter
.
The bridge from boot-time to run-time is defined by
ConverterDescriptor.createJpaAttributeConverter(org.hibernate.boot.model.convert.spi.JpaAttributeConverterCreationContext)
.
This process also incorporates integration with
ManagedBeanRegistry
for resolving
converters from DI containers (if configured)Copyright © 2018 JBoss by Red Hat. All rights reserved.