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 to [Release 12c]
Oracle Data Integrator on Marketplace - Version to
Information in this document applies to any platform.


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:





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.