Could not Execute JDBC Batch Update When Inserting a Comment
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
症状
The following error appears in the atlassian-fisheye*.log:
2012-09-17 22:56:36,254 WARN [btpool0-12384] util.JDBCExceptionReporter JDBCExceptionReporter-logExceptions - SQL Error: 0, SQLState: 22P05
2012-09-17 22:56:36,254 ERROR [btpool0-12384] util.JDBCExceptionReporter JDBCExceptionReporter-logExceptions - ERROR: character 0xe28093 of encoding "UTF8" has no equivalent in "LATIN1"
2012-09-17 22:56:36,255 ERROR [btpool0-12384] def.AbstractFlushingEventListener AbstractFlushingEventListener-performExecutions - Could not synchronize database state with session
org.hibernate.exception.DataException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:102)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
…
Caused by: java.sql.BatchUpdateException: Batch entry 0 insert into cru_comment (cru_create_date, cru_updated_date, cru_message, cru_draft, cru_deleted, cru_defect_raised, cru_comment_issue_key, cru_defect_approved, cru_user_id, cru_review_id, cru_reply_to_comment_id, cru_comment_id) values ('1347918996249', '1347918996249', 'testing – set to 3, suggested set to 4', '0', '0', '0', NULL, '0', '358', '244', NULL, '2431') was aborted. Call getNextException to see the cause.原因
This situation is likely to be happening because Fisheye/Crucible currently support database encoding 'UTF-8' only.
ソリューション
Convert your database encoding to 'UTF-8' as stated in this documentation.
更新日時: September 25, 2025
この内容はお役に立ちましたか?
さらにヘルプが必要ですか?
アトラシアン コミュニティをご利用ください。