'Connection readOnly mode is not enforceable after the connection has been established' Error Messages

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

This article applies to the DB2 database, which is no longer supported as of March 13, 2012. For more details see End of Support Announcements for Confluence.

症状

The following warning appears in the logs:

[4/3/09 8:00:00:051 CDT] 00000615 JDBCException W net.sf.hibernate.util.JDBCExceptionReporter logWarnings Connection readOnly mode is not enforcable after the connection has been established. To enforce a read only connection, set the readOnly data source or connection property.

 原因

The JDBC driver is not able to switch the connection to true read-only mode and logs a corresponding warning. So far, we have found this issue with Type 4 DB2 JDBC drivers (com.ibm.db2.jcc.DB2ConnectionPoolDataSource). There may be others as well.

ソリューション

You can ignore these messages, as we have not found any adverse effects of this message. If you find an adverse effect please let us know by adding a comment to this page. Please also check the Hibernate forum for a more detailed discussion.

Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.