Legacy Knowledge Base
公開されました Sep. 10, 2025

SQL ServerでLiferay QuarterlyリリースにアップグレードするとBatchUpdateExceptionが発生する

Written By

Brian Suh

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.

問題

  • SQL Serverを使用して、Liferay DXP 7.4からLiferay Quarterly Releaseにアップグレードする際にBatchUpdateExceptionが発生したという報告を受けました。

次のようなエラーが表示されることがあります:

ERROR [main][UpgradeStepRegistratorTracker:178] モジュール com.liferay.object.service のアップグレード処理に失敗しました com.liferay.portal.kernel.upgrade.UpgradeException: java.sql.BatchUpdateException:ソースからデータを取得できません。

環境

  • Liferay 四半期リリース 2023
  • SQL Server 2019

解像度

  • これは LPS-203607で取り上げられている。 2023年12月19日現在、このタスクは進行中である。
  • この動作を回避するには、 Microsoft JDBC Driver For SQL Server Maven Repositoryにある 7.4.1 バージョンの SQL Server JDBC JAR ファイルを使用してアップグレードしてください。 アプリケーションサーバーで使用されているJavaバージョンに適したJARファイルを選択し、Liferayバンドルに含めてください。
  • アップグレードが完了したら、新しい SQL Server JDBC JAR ファイルに置き換えることができます。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base