Metamodel Generator doesn't consider JPA converters or custom Hibernate type

Description

When a property in a JPA entity is annotated with a JPA attribute converter or Hibernate's @Type annotation that converts it into a persistable type (e.g. string), the metamodel generator doesn't create an entry for it in the metamodel class. Then when the application starts up, a warning is given: "HHH015011: Unable to locate static metamodel field".

The metamodel generator should consider attribute converters and @Type annotations when it runs.

Environment

Java 1.8, JPA 2.2

Status

Assignee

Koen Aers

Reporter

Steven Paligo

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Affects versions

5.4.4.Final

Priority

Major
Configure