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)

          隨筆檔案

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 镇江市| 丁青县| 女性| 大洼县| 曲水县| 大同县| 逊克县| 麦盖提县| 炎陵县| 阳高县| 昌江| 文水县| 兰溪市| 诏安县| 洛隆县| 南溪县| 咸丰县| 宁波市| 芜湖县| 门头沟区| 城步| 毕节市| 共和县| 曲靖市| 黎平县| 禹城市| 恩施市| 佛学| 贺州市| 邯郸县| 将乐县| 略阳县| 自贡市| 佛学| 阿拉善盟| 万盛区| 喀喇| 夏河县| 顺平县| 江山市| 泰州市|