Hibernate五大核心(類/接口)簡述

Configuration接口 Configuration接口的做用是對Hibernate進行配置,以及對它進行啓動。(加載 hibernate.cfg.xml)並建立一個SessionFactory對象。數據庫 SessionFactory接口 SessionFactory接口負責初始化Hibernate。它充當數據存儲源的代理,並負責建立 Session對象。SessionFactory是線程
相關文章
相關標籤/搜索