Hibernate执行过程

一、建立Configuration 对象  Configuration config=new Configuration();spa        调用configure();加载2hibernate 二、加载主配置文件:hibernater.cfg.xml   .*hbm.xmlxml               到3对象 3.建立SessionFactory对象  事务            
相关文章
相关标签/搜索