Cosminexus V9 アプリケーションサーバ Cosminexus Reliable Messaging
- Reliable Messagingが管理状態または閉塞状態のときには,DB Connector for Reliable Messagingを利用して,トランザクションマネジャでのトランザクションの利用はできません。
- DBだけを利用する場合は,通常のDB Connectorを利用してください。DB Connector for Reliable Messagingは,コネクション共有機能のオーバヘッドがあるため,性能が劣化します。
- DB Connector for Reliable Messagingを利用している場合,java.sql.ConnectionのsetAutoCommit()メソッドは利用できません。したがって,JDBC固有のトランザクション制御はできません。なお,コネクション共有を行い,トランザクションマネジャのトランザクションを利用していない場合,JDBCのコネクションはAutoCommit=trueとなります。また,JMSのQueueSessionはAUTO_ACKNOWLEDGEモードとなります。
- Oracleを利用してJDBCとJMSのアクセスを行う場合は,コネクション共有機能を使うことが前提となります。Reliable Messagingでは,同一DBに対して,異なるリソースアダプタとの間の2相コミットはできません。
- java.sql.Connectionからの生成物(例:java.sql.Statement)を,トランザクションの範囲を超えて使用することはできません。
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.