My Oracle Support Banner

OdiRef.getPK("KEY_NAME") Fails with "ODI-15072: There is no PK constraint" (Doc ID 2847943.1)

Last updated on MAY 23, 2023

Applies to:

Oracle Data Integrator - Version 12.2.1.4.210718 to 12.2.1.4.220112 [Release 12c]
Oracle Data Integrator on Marketplace - Version 12.2.1.4.210718 to 12.2.1.4.220112
Information in this document applies to any platform.

Symptoms

When attempting to call "OdiRef.getPK("KEY_NAME")" in an Oracle Data Integrator (ODI) 12c Knowledge Module (KM)  using Groovy, the following error occurs when running a mapping in simulation mode:

 

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!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.