EclipseLink: autoApply Converters Are Not Applied To Attributes Declared In Entity Class With Primitive Types
Last updated on AUGUST 23, 2017
Applies to:Oracle TopLink - Version 220.127.116.11.0 to 18.104.22.168.0 [Release 12c]
Information in this document applies to any platform.
When converters are configured using annotation @Converter(autoApply=true), the values
written to the database are not converted if it is a simple type (int or boolean).
This issue is also described in:
Bug 443546 - Converter autoApply does not work for primitive types
and marked as fixed in EclipseLink 2.6.0.
But the issue can be replicated in WLS 22.214.171.124.0 (with EclipseLink 2.6.x) also.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms