My Oracle Support Banner

Special Characters In An ODI 12.1.3 User Function Are Absent In Mapping Generated SQL (Doc ID 2022277.1)

Last updated on FEBRUARY 14, 2019

Applies to:

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

Symptoms

When using an Oracle Data Integrator (ODI) 12.1.3 User Function in Mappings, such as:

ODI User function code (Oracle implementation):

regexp_like ($(p_string),'^[-]{0,0}[0-9]{1,10}\z')

... special characters such as

    backslash

or

   square brackets

are removed in the generated code resulting in incorrect SQL . Moreover, this depends on the precise ODI Knowledge Module used.

For example,

regexp_like ($(p_string),'^[-]{0,0}[0-9]{1,10}\z')

in IKM Oracle Insert generates following SQL snippet:

... and (regexp_like(<SCHEMA_NAME>.<TABLE_NAME>,'^-{0,0}0-9{1,10}\z'))

in IKM SQL Control Append the following SQL is generated:

... and (regexp_like(<SCHEMA_NAME>.<TABLE_NAME>,'^-{0,0}0-9{1,10}z'))

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.