ODI12c Mapping Fails With 'org.postgresql.util.PSQLException: ERROR: syntax error at or near "XXXXX" ' Error When Using PostgreSQL as Target Datastore (Doc ID 2066263.1)

Last updated on OCTOBER 20, 2015

Applies to:

Oracle Data Integrator - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

In a mapping which targets a PostgreSQL data server, in the SQL generated by ODI, the column alias separator is missed causing the session to fail with the following error:

Additionally, the SQL generated by odiRef.getFrom() do not have the column alias separator which is mandatory and is not an option in certain versions of PostgreSQL.

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