0516_2

          Configuration: the class instantiate a sessionng factory, it works as follow:
          1. Get properties for Enviroment.java. Environment get properties from hibernate.properties and System, System propertie is prior to hibernate.properties when name is equal.
          2. Configuration.config will read hibernate.cfg.xml to get more properties and mapping files.


          During last two steps, it will some util class in org.hibernate.util to help handle file.

          3. Generate ConnectionProvider by its all properties.


          posted on 2007-05-16 09:17 Sheldon Sun 閱讀(122) 評論(0)  編輯  收藏


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


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

          導航

          統計

          常用鏈接

          留言簿(3)

          隨筆檔案

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 庆元县| 镇沅| 奈曼旗| 尉犁县| 青海省| 桐柏县| 长乐市| 镇宁| 彝良县| 贡觉县| 河东区| 庄浪县| 布拖县| 县级市| 永德县| 大连市| 大安市| 南丹县| 铅山县| 崇文区| 黄石市| 延寿县| 兖州市| 都安| 巫山县| 长阳| 乌拉特前旗| 海南省| 波密县| 宁夏| 光泽县| 张家界市| 钦州市| 叙永县| 玉山县| 搜索| 连平县| 佳木斯市| 延吉市| 临泽县| 渭源县|