我的評論

          re: 申請團隊Blog Sheldon Sun 2006-10-20 16:37  
          Name: ark
          Chinese name: 力網狂瀾
          Introduction: Team work and inproving is the terminal goal, 跟我混吧, 你最有前途
          Member: sheldonsun

          thanks
          re: Domain Object:基于業務行為的分析 Sheldon Sun 2006-10-10 14:21  
          Good boy
          @asdf
          不怪我啊, 我粘貼過來就這樣了。。。 ……^_^
          re: Hibernate之緩存 Sheldon Sun 2006-08-30 08:31  
          不能進行批量更新和刪除: UPDATE AGE = AGE +1 FROM PERSON WHERE AGE >20

          則其會取出所有滿足條件的PERSON的信息, 然后每條進行一次更新操作, 執行很多SELECT語句。DeleteK語句也是一樣。

          解決緩存方法一:For every query string, after executing, call session flush() to run sql, and session evict( object) to delete it from storage.

          method 2: use SQL instead batch update and delete, best choice.
          Jboss just bind the datasourc in local jndi namespace, so
          you cannot retrieve it out of jboss jvm. If you want that,
          you should bind the datasource to the global namespace :
          In XX-ds.xml, under <jndi-name>, add this:
          <use-java-context>false</use-java-context>

          test again ! :)

          btw, you must use jboss4.0
          <2025年5月>
          27282930123
          45678910
          11121314151617
          18192021222324
          25262728293031
          1234567

          導航

          統計

          常用鏈接

          留言簿(3)

          隨筆檔案

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 白朗县| 黎城县| 喀喇沁旗| 武鸣县| 邓州市| 台南县| 罗平县| 保定市| 临海市| 环江| 二连浩特市| 安阳县| 南召县| 百色市| 石首市| 五大连池市| 云安县| 仁化县| 牟定县| 抚州市| 沂水县| 东山县| 扎鲁特旗| 祥云县| 舞阳县| 吐鲁番市| 桐城市| 庄浪县| 阳曲县| 崇明县| 宜章县| 共和县| 新巴尔虎右旗| 沂南县| 连平县| 铜山县| 沙湾县| 盐津县| 邻水| 曲阜市| 靖安县|