DescriptorException Exception When Creating An Entity With An Embedded Object Field Set To Null
(Doc ID 1457593.1)
Last updated on MARCH 26, 2019
Applies to:Oracle TopLink - Version 22.214.171.124.0 to 126.96.36.199 [Release Oracle11g to 12c]
Information in this document applies to any platform.
NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.
The object model consists of Employee , and Address entities.
The Employee Entity has an embdedded object field (pointing to EmployeeInfo object).
This EmployeeInfo object contains
a ManyToOne RelationShip pointing to the Address Entity.
Here is the related declaration :
This exception is due to the fact that EmployeeInfo field is set to Null .
And, EmployeeInfo class is having a field representing ManytoOne relationship .
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