My Oracle Support Banner

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 NOVEMBER 23, 2019

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


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.