My Oracle Support Banner

In ODI 12c, odiRef.getTargetTable("TABLE_NAME") Incorrectly Returns The Datastore Resource (RES_NAME) Instead Of The Datastore Name (Doc ID 2278186.1)

Last updated on APRIL 08, 2019

Applies to:

Oracle Data Integrator - Version 12.1.3.0.0 to 12.2.1.3.2 [Release 12c]
Information in this document applies to any platform.

Symptoms

NOTE: In the images below and/or the attached document, user details / company name / address / email / telephone number represent a fictitious sample (based upon made up data used in the Oracle Demo Vision instance). Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

In Oracle Data Integrator (ODI) 12c, there is a Datastore where the Resource Name is different from the Datastore name. For example:

 

A Mapping that loads data into the above Datastore uses an IKM that implements the following ODI method:

<%=odiRef.getTargetTable("TABLE_NAME")%>

 When executing the Mapping, the above gets substituted with the Resource Name instead of the expected Datastore name. In the example above, ODI 12c returns:

A_PREFIX/MY_DATASTORE_NAME

     instead of:

MY_DATASTORE_NAME

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
Cause
Solution
References


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