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 閱讀(233) 評論(0)  編輯  收藏


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


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

          導航

          統計

          常用鏈接

          留言簿(3)

          隨筆檔案

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 佛冈县| 长兴县| 屏山县| 财经| 石阡县| 攀枝花市| 泽州县| 泰和县| 阜城县| 威远县| 烟台市| 同江市| 将乐县| 余庆县| 咸宁市| 亚东县| 子洲县| 博客| 晋宁县| 元朗区| 江达县| 南郑县| 周宁县| 江阴市| 苏尼特左旗| 青阳县| 正阳县| 蒙城县| 百色市| 万年县| 海安县| 济宁市| 阿巴嘎旗| 威信县| 尉犁县| 宜宾县| 旬阳县| 正宁县| 密山市| 西林县| 平舆县|