DescriptorException When Inserting an Object that has an Aggregate Object Mapping
(Doc ID 1612659.1)
Last updated on JUNE 28, 2021
Applies to:
Oracle TopLink - Version 12.1.2.0.0 to 12.1.2.0.0 [Release 12c]Information in this document applies to any platform.
Symptoms
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.
An object (Employment) is mapped as having an aggregate object (EmployementPeriod) containing a version lock field of type Timestamp/Date, and utilizes
TimestampLockingPolicy. Here is an extract of the corresponding object mapping XML file :
This occurs when the referenced aggregate object is null (even if 'allows null' is enabled for the aggregate object mapping). If the referenced
aggregate object is non-null, the exception is not observed.
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 |