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


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


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

          導航

          統計

          常用鏈接

          留言簿(3)

          隨筆檔案

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 海丰县| 北川| 石泉县| 泗洪县| 开封市| 扎鲁特旗| 瑞昌市| 保山市| 临澧县| 民乐县| 溧水县| 济阳县| 遂平县| 英山县| 洛川县| 噶尔县| 永善县| 怀化市| 桓台县| 建阳市| 南和县| 汉中市| 红安县| 南安市| 峨山| 安乡县| 漠河县| 尖扎县| 宁阳县| 旅游| 平阴县| 长阳| 宁海县| 新龙县| 文安县| 宜丰县| 郧西县| 宜州市| 黄平县| 云龙县| 六枝特区|