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 閱讀(167) 評(píng)論(0)  編輯  收藏


          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          <2007年5月>
          293012345
          6789101112
          13141516171819
          20212223242526
          272829303112
          3456789

          導(dǎo)航

          統(tǒng)計(jì)

          常用鏈接

          留言簿(3)

          隨筆檔案

          文章檔案

          搜索

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          主站蜘蛛池模板: 万年县| 天峨县| 东乌珠穆沁旗| 翼城县| 揭阳市| 彭州市| 墨玉县| 化德县| 铁岭市| 阿拉善盟| 张北县| 房山区| 金沙县| 昌邑市| 都昌县| 乌拉特中旗| 通城县| 青龙| 东方市| 汤原县| 咸阳市| 武义县| 泸州市| 霍城县| 固安县| 汝南县| 钦州市| 隆德县| 长治县| 陈巴尔虎旗| 科技| 龙胜| 饶阳县| 香港 | 聂拉木县| 扶风县| 甘孜县| 洞口县| 芜湖市| 灵宝市| 南汇区|