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)

          隨筆檔案

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 湖口县| 富平县| 东乡县| 永登县| 渝北区| 天长市| 都江堰市| 济阳县| 海原县| 友谊县| 海口市| 伊通| 启东市| 进贤县| 南靖县| 微山县| 百色市| 措勤县| 阳春市| 广安市| 香格里拉县| 花莲市| 浪卡子县| 阳东县| 石家庄市| 安康市| 平阴县| 云林县| 临颍县| 金山区| 哈巴河县| 黎平县| 卢龙县| 汝阳县| 屯留县| 尤溪县| 安福县| 峡江县| 芜湖市| 石狮市| 东辽县|