jakarta.persistence.AttributeConverter . The main
purpose is to be able to control jakarta.persistence.Converter#autoApply()
external to the actual converter class, which might be useful for third-parties
converters.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | autoApply()
Should the registered converter be auto applied for converting values of its reported domain type? |
| public Class | |
| public Class |
| autoApply | back to summary |
|---|---|
| public boolean autoApply() Should the registered converter be auto applied for converting values of its reported domain type? Defaults to true as that is the more common use case for this annotation. | |
| converter | back to summary |
|---|---|
| public Class The converter class to register | |
| domainType | back to summary |
|---|---|
| public Class The domain type to which this converter should be applied. This allows refining the domain type associated with the converter e.g. to apply to a subtype.
With
With | |