VIRGIN FOREST OF JAVA
          不要埋頭苦干,要學習,學習,再學習。。。。。
          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) 評論(0)  編輯  收藏 所屬分類: HibernateSPRINGTOMCAT / RESIN
          主站蜘蛛池模板: 香格里拉县| 双鸭山市| 德清县| 内丘县| 自治县| 池州市| 武山县| 高阳县| 崇仁县| 霍山县| 双牌县| 宜昌市| 肇庆市| 六枝特区| 孟村| 刚察县| 简阳市| 保康县| 乡宁县| 韩城市| 汝州市| 马边| 桑植县| 望江县| 日土县| 商水县| 丹凤县| 淳安县| 固始县| 甘泉县| 大名县| 上饶县| 那曲县| 五家渠市| 霞浦县| 阳谷县| 凤阳县| 丰城市| 尤溪县| 云霄县| 沭阳县|