DescriptorException Exception When Creating An Entity With An Embedded Object Field Set To Null
(Doc ID 1457593.1)
Last updated on MARCH 01, 2021
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
Disclaimer
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 .
Changes
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 |
Changes |
Cause |
Solution |
References |