Mapping Workbench 10.1.3 Warns About Multiple Writable Mappings When It Shouldn't
(Doc ID 370189.1)
Last updated on MAY 25, 2021
Applies to:
Oracle TopLink - Version 10.1.3.1 and laterInformation in this document applies to any platform.
Symptoms
Scenario:
- The class descriptor is defined as read-only.
- It contains a direct-to-field mapping for a column.
- It does also contain an aggregate mapping
- The mapped aggregate descriptor has also a direct-to-field mapping for the same column.
The two direct-to-field mappings for the column should be valid, because the PrimaryObject descriptor is set read-only, therefore also it's attributes should be handled as read-only and so there are no multible writable mappings for the column.
Result
Mapping Workbench displays invalid error message:
PrimaryObject
0106 - Mulitple mappings: "dateRange", "start" write to the database field:
"PRIMARY_TABLE.START_DATE".
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 |
Scenario: |
Result |
Cause |
Solution |
References |