Hibernate核心開發接口_SessionFactory詳解
SessionFactory: a) 用來產生和管理Session b)通常情況下每個應用只需要一個SessionFactory c)除非要訪問多個數據庫的情況 d) 關注兩個方法即: openSession 和 getCurrentSession ...
SessionFactory: a) 用來產生和管理Session b)通常情況下每個應用只需要一個SessionFactory c)除非要訪問多個數據庫的情況 d) 關注兩個方法即: openSession 和 getCurrentSession ...