My Oracle Support Banner

EclipseLink: autoApply Converters Are Not Applied To Attributes Declared In Entity Class With Primitive Types (Doc ID 2299530.1)

Last updated on MARCH 19, 2019

Applies to:

Oracle TopLink - Version 12.2.1.0.0 to 12.2.1.3.0 [Release 12c]
Information in this document applies to any platform.

Symptoms

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 12.2.1.2.0 (with EclipseLink 2.6.x) also.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.