Legacy Knowledge Base
Published Jun. 30, 2025

ORA-00972: IDENTIFIER IS TOO LONG

Written By

Daniel Martinez Cisneros

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

Issue

When using Oracle 19c as the database, setting the compatible version to 12.1.0.2 or lower can lead to errors under certain circumstances, such as when publishing an object that has relationships with others.

You can verify the current compatible version by running the following query:

SELECT name, value 
FROM v$parameter
WHERE name = 'compatible';

The primary cause of this issue is documented in the official Oracle documentation. In Oracle Database versions prior to 12.2, the maximum length for identifier names, such as table names, column names, and primary key names is limited to 30 characters. Starting with Oracle Database 12.2, this limit has been increased to 128 characters by default.

Environment

  • Quarterly Releases

Resolution

Given that the upgrade from 12.1.0.2 to 12.2 is a minor version change, a recommended solution is to adjust the compatibility level to 12.2.

Additional information

Did this article resolve your issue ?

Legacy Knowledge Base