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.


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


          網站導航:
           
          主站蜘蛛池模板: 江孜县| 壤塘县| 舞阳县| 郴州市| 达拉特旗| 商河县| 福清市| 谷城县| 巧家县| 松滋市| 万载县| 兰溪市| 平阴县| 河北省| 博兴县| 鄂伦春自治旗| 景洪市| 寿宁县| 甘洛县| 德惠市| 上饶县| 营山县| 海兴县| 阳朔县| 龙陵县| 白河县| 乳山市| 泸定县| 靖远县| 山东| 商洛市| 呼图壁县| 高台县| 大关县| 天全县| 闽侯县| 方正县| 呼和浩特市| 玉田县| 渭南市| 泗阳县|