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.


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


          網站導航:
           
          主站蜘蛛池模板: 共和县| 普格县| 邵阳市| 罗甸县| 万源市| 沾化县| 盈江县| 集安市| 高青县| 綦江县| 保定市| 宿州市| 桂阳县| 青铜峡市| 应用必备| 鞍山市| 庄河市| 大丰市| 齐河县| 依兰县| 清丰县| 阿拉善左旗| 老河口市| 宜兴市| 哈巴河县| 山阳县| 庐江县| 札达县| 宁都县| 类乌齐县| 安溪县| 阿拉尔市| 隆林| 肥东县| 双流县| 八宿县| 曲水县| 巩留县| 叶城县| 织金县| 新余市|