DescriptorException Exception When Creating An Entity With An Embedded Object Field Set To Null (Doc ID 1457593.1)

Last updated on FEBRUARY 25, 2017

Applies to:

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

Symptoms

Ther object model consists of  Person , and Address entities.

The Person Entity has an embdedded object field (pointing to  PersonInfo object).

This PersonInfo object contains
a ManyToOne RelationShip pointing to the Address Entity.

Here is the related declaration :

 

 


This exception is due to the fact that personInfo field is set to Null .
And, PersonInfo class is having a field representing ManytoOne relationship .

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