Legacy Knowledge Base
Published Jun. 30, 2025

Publications - ERROR: ORA-01795: maximum number of expressions in a list is 1000

Written By

Debora Vita

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

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

Issue

  • When trying to publish a publication with more than 1000 changes using Oracle Database, an error occurs and the process fails:
    2023-04-04 14:59:53.645 ERROR [liferay/background_task-10][BackgroundTaskMessageListener:167] Unable to execute background task
    com.liferay.portal.kernel.log.LogSanitizerException: java.sql.SQLSyntaxErrorException: ORA-01795: maximum number of expressions in a list is 1000_ [Sanitized]
    at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:494) ~[ojdbc8.jar:12.2.0.1.0]
    at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:446) ~[ojdbc8.jar:12.2.0.1.0]
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1054) ~[ojdbc8.jar:12.2.0.1.0]

Environment

  • DXP 7.4

Resolution

  • This issue is fixed by LPS-176611. A hotfix must be built containing this LPS.

 

Did this article resolve your issue ?

Legacy Knowledge Base