hibernate執行流程

1.configuration.config() 讀取hibernate.cfg.xml文件session 2.由hibernate.cfg.xml讀取文件中的<mapping resource="com/xx/User.hbm.xml">app 3.經過config.buildSessionFactory();//建立SessionFactoryui 4.經過SessionFactory.ope
相關文章
相關標籤/搜索