VIRGIN FOREST OF JAVA
          不要埋頭苦干,要學(xué)習(xí),學(xué)習(xí),再學(xué)習(xí)。。。。。
          powered by R.Zeus

          ??????????????????????if there are more than two server run with the same system code
          ??????????? and call the save method at the same time ,it will be result of hibernate
          ??????????? error!because hibernate get the max id for ganerator and store it in
          ??????????? cache for next time using.so one server will get the expired id if another
          ??????????? server change the database following.
          ??????????? befroe save object,hibernate will excute this sql after the server start up once:
          ???????????? Hibernate: select max(ID) from TB_LOG
          ??????????? TB_LOG is my log table.

          posted on 2006-10-20 13:35 R.Zeus 閱讀(365) 評(píng)論(0)  編輯  收藏 所屬分類: HibernateSPRINGTOMCAT / RESIN
          主站蜘蛛池模板: 南溪县| 南充市| 郧西县| 紫金县| 南漳县| 星座| 井陉县| 湘潭县| 轮台县| 南通市| 南汇区| 七台河市| 胶南市| 沂南县| 永安市| 鹿邑县| 清流县| 朔州市| 邹城市| 铜陵市| 临安市| 金秀| 广汉市| 集贤县| 望谟县| 京山县| 霍州市| 清新县| 德惠市| 鲁山县| 麻江县| 通河县| 从化市| 西乡县| 怀来县| 厦门市| 庆元县| 永泰县| 盐城市| 杨浦区| 石门县|