My Oracle Support Banner

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 APRIL 04, 2023

Applies to:

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

Symptoms

In a mapping which targets a PostgreSQL data server, in the SQL generated by Oracle Data Integrator (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

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.