My Oracle Support Banner

Sample Code to Delete an ODI 12c Mapping Using Groovy and SDK Script (Doc ID 2357065.1)

Last updated on OCTOBER 30, 2023

Applies to:

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

Goal

This is a sample Groovy script that could be used for deleting an Oracle Data Integrator (ODI) Mapping, using the SDK (ODI Java API).

An error message will be reported if the Mapping does not exist in the current Work Repository.

Also, the Mapping will not be deleted if it is used in a Package, another Mapping or other ODI object. An error message will indicate if such a situation is encountered.

The article applies to all releases of ODI like the current 12C as well as to previous releases.

Solution

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.