ClassCastException If Attribute Is Of Primitive Type long, float, double, boolean or char And Database Column Is Null With Weaving Enabled

(Doc ID 1400722.1)

Last updated on DECEMBER 22, 2013

Applies to:

Oracle TopLink - Version 11.1.1.4.0 to 11.1.1.5.0 [Release Oracle11g]
Information in this document applies to any platform.

Symptoms

- Using TopLink 11.1.1.4.0 (EclipseLink 2.1.2) or 11.1.1.5.0 (EclipseLink 2.1.3) versions, when mapping attribute  of primitive type long, float, double, boolean to a database column which is NULL  and enabling weaving,

the ClassCastException exception occurs as the following :

Cause

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