rednight

          0x2B|~0x2B,That's not a question,Just do it.
          posts - 32, comments - 14, trackbacks - 0, articles - 0

          SupportsLocalTransactions

          Posted on 2007-03-06 12:49 rednight 閱讀(233) 評論(0)  編輯  收藏

          Some XA JDBC drivers do not support local transaction operations, which can cause an error similar to the following when optimistic concurrency is used with such a driver:

          SQL operations are not allowed with no global transaction by default for XA drivers.

          In other words, the error will occur when SupportsLocalTransactions="true" is specified for the JDBCConnectionPool.

          This problem occurs because optimistic concurrency suspends a global transaction and does reads in a local transaction when the database is not Oracle. (When using Oracle, you can avoid this problem by explicitly setting <database-type>Oracle</database-type> in your CMP deployment descriptor.)

          Workaround : Use the "RollbackLocalTxUponConnClose" on the JDBCConnection.


          只有注冊用戶登錄后才能發(fā)表評論。


          網站導航:
           
          主站蜘蛛池模板: 赤壁市| 若尔盖县| 喀喇| 泰安市| 新建县| 宁陕县| 古蔺县| 溧阳市| 水城县| 荥阳市| 无棣县| 揭东县| 隆安县| 遂川县| 宿迁市| 四子王旗| 望都县| 彭阳县| 肇州县| 左权县| 林周县| 延津县| 边坝县| 青浦区| 博白县| 泽州县| 兰溪市| 贵南县| 积石山| 夏邑县| 楚雄市| 东阳市| 浦城县| 桃园市| 民丰县| 揭东县| 绥宁县| 开封县| 太仆寺旗| 互助| 兴海县|