Error "java.sql.SQLException: ORA-20001: XX-YY-ZZ is an invalid identifier" In Gather Database Statistics Step During CA/BCC Deployment

(Doc ID 2149960.1)

Last updated on DECEMBER 13, 2017

Applies to:

Oracle Commerce Platform - Version and later
Information in this document applies to any platform.


The following error appears in Gather Database Statistics if user-name (ownname) contains dashes:

This can be reproduced with the following steps :

1.Add a username that contains dashes
2.verify the property (gatherDatabaseSchemaStatisticsSQL or gatherDatabaseTableStatisticsSQL) on any repository to see the default value of it.
3.Run a deployment or execute gatherDatabaseSchemaStatistics method


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