Introduce ConverterRegistration annotation

Description

The intent is to be able to extract the definition of auto-applying an AttributeConverter outside of the converter itself. Generally you have:

The converter implementation has to specify this auto-application, rather than the application controlling this.

Sometimes it is not a good idea for a converter to specify auto-apply, especially considering scanning and other auto-detection of “managed classes”. So allow a way to specify this externally. E.g.

This correlates to orm:converter from the https://jakarta.ee/xml/ns/persistence/orm schema in terms of XML mappings

Activity

Show:
Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created May 16, 2022 at 3:33 PM
Updated June 7, 2022 at 8:52 AM
Resolved May 27, 2022 at 7:28 PM