JPA學習筆記(5)——EntityManager相關

Persistence EntityManagerFactory EntityManager find方法 getReference方法 persist方法 remove方法 merge方法 狀況1傳入的對象沒有id 狀況2傳入的對象有identityManager的緩存中沒有該對象數據庫中沒有該記錄 狀況3傳入的對象有identityManager的緩存沒有該對象數據庫中有該記錄 狀況4傳入的對
相關文章
相關標籤/搜索