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ā)表評論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 平谷区| 嘉定区| 娄烦县| 深泽县| 托里县| 吉安市| 阿克陶县| 岳池县| 丹巴县| 科技| 桃园县| 漠河县| 郎溪县| 溧阳市| 永嘉县| 上犹县| 惠来县| 文登市| 绍兴市| 葫芦岛市| 高雄县| 桂林市| 池州市| 日土县| 慈溪市| 都匀市| 蛟河市| 彭山县| 呼伦贝尔市| 荣成市| 金塔县| 文成县| 靖远县| 明溪县| 富民县| 威信县| 西贡区| 图片| 遵化市| 陈巴尔虎旗| 界首市|