A.none B.save C.delete D.save-update
A.<set> B.<one-to-many> C.<many-to-one> D.<property>
A.對于每個數(shù)據(jù)庫事務,應該創(chuàng)建一個SessionFactory對象 B.一個SessionFactory對象對應一個數(shù)據(jù)庫存儲源 C.SessionFactory是重量級的對象,不應該隨意創(chuàng)建。如果系統(tǒng)中只有一個數(shù)據(jù)庫存儲源,只需要創(chuàng)建一個 D.SessionFactory的load()方法用于加載持久化對象