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)  編輯  收藏


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


          網(wǎng)站導航:
           
          <2007年5月>
          293012345
          6789101112
          13141516171819
          20212223242526
          272829303112
          3456789

          導航

          統(tǒng)計

          常用鏈接

          留言簿(3)

          隨筆檔案

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 蓬溪县| 新野县| 佛学| 冀州市| 武城县| 富平县| 广平县| 绿春县| 滦平县| 沁水县| 东港市| 新兴县| 赤壁市| 内乡县| 黑水县| 达州市| 剑川县| 会同县| 济源市| 瑞昌市| 涞源县| 陆良县| 五家渠市| 安多县| 青阳县| 武川县| 年辖:市辖区| 静海县| 留坝县| 青岛市| 察雅县| 阿拉善右旗| 广灵县| 博兴县| 元谋县| 伊吾县| 万全县| 高邮市| 建德市| 扎兰屯市| 民权县|