Hibernate configuration

          Hibernate configuration object is the core and starttime class , initiate it and call its config() method to initial sessionFactory.
          Configuration get properties, mapping , etc information through two ways:
          1. Config file: hibernate.propeties, system, hibernate.cfg.xml(optional, name changed Configuration.doConfig(*.cfg.xml)).
          2. Method: Configuration.addSource, addProperties...

          So config files is only a way of configuration to get config info.



          posted on 2007-05-16 15:00 Sheldon Sun 閱讀(236) 評論(0)  編輯  收藏


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


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

          導航

          統計

          常用鏈接

          留言簿(3)

          隨筆檔案

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 长寿区| 军事| 文成县| 远安县| 长沙市| 苗栗县| 定州市| 河源市| 海南省| 中超| 额尔古纳市| 三穗县| 宁强县| 普安县| 津市市| 大理市| 米林县| 伊宁县| 汝南县| 西乌珠穆沁旗| 吉水县| 嘉定区| 富平县| 乐清市| 皮山县| 邵武市| 区。| 柳河县| 开封市| 简阳市| 高安市| 儋州市| 肇东市| 上蔡县| 石家庄市| 来凤县| 始兴县| 凤冈县| 广元市| 韩城市| 彰化县|