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)

          隨筆檔案

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 普陀区| 古田县| 阜平县| 东方市| 婺源县| 肃南| 陆河县| 泗阳县| 商丘市| 璧山县| 青河县| 英山县| 游戏| 苏尼特右旗| 涞水县| 南京市| 铜山县| 浙江省| 万安县| 太和县| 洪江市| 荆门市| 开阳县| 荔浦县| 金山区| 高清| 景洪市| 郧西县| 乌兰察布市| 平谷区| 盐津县| 安化县| 平阳县| 九寨沟县| 自治县| 聊城市| 永和县| 湖北省| 澄江县| 体育| 阿巴嘎旗|