My Oracle Support Banner

Using 'odiRef.getTable("L", "TARG_NAME", "A")' Method in a Custom LKM Returns Datastore Model Name (Doc ID 3027318.1)

Last updated on JUNE 13, 2024

Applies to:

Oracle Data Integrator - Version 12.2.1.4.221215 and later
Oracle Data Integrator on Marketplace - Version 12.2.1.4.200123 and later
Information in this document applies to any platform.

Symptoms

When using the "odiRef.getTable("L", "TARG_NAME", "A")" method in a custom Oracle Data Integrator (ODI) 12.2.1.4.x Loading Knowledge Module (LKM), the TARG_NAME returned is the datastore model "Name" and not the "Resource Name."

To reproduce:

1. Create a custom LKM with the following Load data step:


2. Create a mapping using the custom LKM
3. Make sure that the model datastore has a "Name" different from "Resource Name"
4. Run the mapping in simulation mode
=> the TARG_NAME resturned is the datastore model "Name" and not the "Resource 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!


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