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

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Data Integrator - Version 12.1.3.0.0 and later
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(EXT_TICKETANALYSE.ANZ_TICKET_OHNE_BEANSTANDUNG,'^-{0,0}0-9{1,10}\z'))

in IKM SQL Control Append the following SQL is generated:

... and (regexp_like(EXT_TICKETANALYSE.ANZ_TICKET_OHNE_BEANSTANDUNG,'^-{0,0}0-9{1,10}z'))

Cause

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 hundreds of Community platforms