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)

          隨筆檔案

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 绵阳市| 枣强县| 广西| 镇江市| 长兴县| 伽师县| 文昌市| 忻州市| 商水县| 西吉县| 蛟河市| 桂平市| 泸西县| 黄陵县| 泰顺县| 广饶县| 高淳县| 龙泉市| 滨海县| 体育| 福贡县| 泽库县| 桂阳县| 韶山市| 龙游县| 定远县| 财经| 揭阳市| 闽清县| 游戏| 赤壁市| 望都县| 莒南县| 加查县| 宁城县| 舟山市| 扶绥县| 筠连县| 健康| 阳高县| 吉林省|