My Oracle Support Banner

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

Last updated on JANUARY 22, 2020

Applies to:

Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version and later
Information in this document applies to any platform.


When attempting to run Global Scheduled Service "Publish Enterprise Data", the status goes into a FAILED state and the following is written to the 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 can be reproduced at will with the following steps:

  1. Run the "Publish Enterprise Data" Global Scheduled Service
  2. See the status change to FAILED
  3. Check log, see error





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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.