ODI 12c Error "ORA-02287: sequence number not allowed here" Due to Database 'Nextval' Included in Aggregate Function of Mapping
(Doc ID 2437323.1)
Last updated on AUGUST 07, 2024
Applies to:
Oracle Data Integrator - Version 12.2.1.3.0 and laterOracle Data Integrator on Marketplace - Version 2.1.0 and later
Oracle Data Integrator Cloud Service - Version 17.2.1 and later
Information in this document applies to any platform.
Symptoms
NOTE: In the example below, user details / company name / address / email / telephone number represent a fictitious sample. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.
In Oracle Data Integrator (ODI) 12c, when a native database sequence is in the target expression for a column (i.e. [sequence].nextval), and an aggregate component exists in the mapping, the generated SQL is wrong and the following error is generated:
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! |