Document the JavaTypeDescriptor registration process and the JavaTypeDescriptorRegistry.

Description

As mentioned by Steve on the forum, the JavaTypeDescriptorRegistry allows us to register a JavaTypeDescriptor which can handle a certain Java entity property type so that custom types implemented via AttributeConverter can be auto-discovered by Hibernate.

We need to document this process based on the example offered in the Hibernate forum attached at the beginning of this issue.

Environment

None

Activity

Show:
Steve Ebersole
September 21, 2018, 2:58 PM

FYI, registering a custom domain type is just part of the equation here. Similarly we can register a custom SqlTypeDescriptor. Together these offer extendability beyond just AttributeConverter.

Steve Ebersole
December 6, 2018, 3:31 PM

Started in the `design/type-customization.adoc` document which is intended to be the start of a documentation chapter for this

Assignee

Steve Ebersole

Reporter

Vlad Mihalcea

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Priority

Major
Configure