legacy-knowledge-base
公開されました Jun. 30, 2025

Getting ORA-01795 when editing a DDM structure

written-by

Sorin Pop

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

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

legacy-article

learn-legacy-article-disclaimer-text

Issue

  • I'm trying to edit an DDMStructure and I got the error :
    => Edit xxx is temporarily unavailable.

    If I look at the logs I see this error :
    Caused by: java.sql.SQLSyntaxErrorException: ORA-01795: maximum number of expressions in a list is 1000_ [Sanitized]

Environment

  • 7.1

Resolution

  • There are probably more than 1 000 past versions of that structure (it must have been updated so many times)
  • you can double-check by getting the structure ID from the UI and running a query like this on the database:

SELECT count(*) FROM DDMSTRUCTUREVERSION WHERE STRUCTUREID =<ID>;

 

did-this-article-resolve-your-issue

legacy-knowledge-base