Hibernate執行過程

一、建立Configuration 對象  Configuration config=new Configuration();spa        調用configure();加載2hibernate 二、加載主配置文件:hibernater.cfg.xml   .*hbm.xmlxml               到3對象 3.建立SessionFactory對象  事務            
相關文章
相關標籤/搜索