0516_1

          1. Update make a detached object persistent.
          2. Config mapping relating in mapping files make query as object oriented.
          3. For many-to-many relation relationship, middle table store link to two tables.
          4. Key element is identify the column of middle table.
          5. Db operation happend at the end of a unit work ---- session flush.
          6. For value type, "element" will replace "many-to-many" in set element(acturally, for all java object, hibernate take it as a value type), value type can not shared by more than one instance.
          7. All bi-directional associations need one side as inverse. bi-direction means both sides of mapping mentain relations of middle table, inverse side is a mirror of the other side, during save or update, the other side will handle.

          posted on 2007-05-16 08:52 Sheldon Sun 閱讀(169) 評論(0)  編輯  收藏


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


          網站導航:
           
          <2007年5月>
          293012345
          6789101112
          13141516171819
          20212223242526
          272829303112
          3456789

          導航

          統計

          常用鏈接

          留言簿(3)

          隨筆檔案

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 含山县| 耒阳市| 宿迁市| 福安市| 泰宁县| 黄石市| 泗洪县| 会同县| 永嘉县| 马龙县| 大名县| 博兴县| 屏东市| 云和县| 米林县| 台中市| 清水县| 宁远县| 丹阳市| 滁州市| 武邑县| 永平县| 年辖:市辖区| 正定县| 盐山县| 海阳市| 宜君县| 济南市| 阿克苏市| 萍乡市| 景泰县| 木里| 东莞市| 杭州市| 册亨县| 朔州市| 康平县| 偏关县| 碌曲县| 呼伦贝尔市| 射阳县|