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 阅读(121) 评论(0)  编辑  收藏


只有注册用户登录后才能发表评论。


网站导航:
 
<2007年5月>
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

导航

统计

常用链接

留言簿(3)

随笔档案

文章档案

搜索

最新评论

阅读排行榜

评论排行榜