JPA学习笔记(5)——EntityManager相关

Persistence EntityManagerFactory EntityManager find方法 getReference方法 persist方法 remove方法 merge方法 状况1传入的对象没有id 状况2传入的对象有identityManager的缓存中没有该对象数据库中没有该记录 状况3传入的对象有identityManager的缓存没有该对象数据库中有该记录 状况4传入的对
相关文章
相关标签/搜索