My Oracle Support Banner

Error: "java.sql.SQLSyntaxErrorException: ORA-01745: invalid host/bind variable name" When Executing the 'Publish Enterprise Data' Global Scheduled Service (Doc ID 2440713.1)

Last updated on MAY 17, 2023

Applies to:

Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version to 20.12 [Release 16.2 to 20.12]
Information in this document applies to any platform.


When attempting to run the "Publish Enterprise Data" Global Scheduled Service, the job's status shows as FAILED and the following error occurs in the <P6 EPPM home>\p6\WebAccessLogs\services\jt_enterprise\<date-time>_FAILED.log file:

SEVERE: <date time>:[TASK]:[PxServiceCalendarSqlWriter]: [5] CORE(BRE): Failed to update calendar: <calendar ID>
SEVERE: <date time>:[TASK]:[PxServiceCalendarSqlWriter]: [5] CORE(BRE): ORA-01745: invalid host/bind variable name
java.sql.SQLSyntaxErrorException: ORA-01745: invalid host/bind variable name
   at oracle.jdbc.driver.T4CTTIoer.processError(
   at oracle.jdbc.driver.T4CTTIoer.processError(
   at oracle.jdbc.driver.T4C8Oall.processError(
   at oracle.jdbc.driver.T4CTTIfun.receive(
   at oracle.jdbc.driver.T4CTTIfun.doRPC(
   at oracle.jdbc.driver.T4C8Oall.doOALL(
   at oracle.jdbc.driver.T4CPreparedStatement.doOall8(
   at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(
   at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(
   at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(
   at oracle.jdbc.driver.OraclePreparedStatement.execute(
   at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(
   at com.primavera.infr.db.PPreparedStatement.execute(

The issue only occurs for an Oracle Database.


The issue can be reproduced at will with the following steps:

  1. Run the "Publish Enterprise Data" Global Scheduled Service
  2. Note the job status changes to FAILED.
  3. View the reported error in the log file.




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.