Hibernate執行原理總結

hibernate工做原理web 一、經過Configuration().configure();讀取並解析hibernate.cfg.xml配置文件。 二、由hibernate.cfg.xml中的< mappingresource=」com/xx/User.hbm.xml」/>讀取解析映射信息。 三、經過config.buildSessionFactory();//獲得sessionFactor
相關文章
相關標籤/搜索