JPA : 区分 persist() 和 merge()

区别概述 persistjava Insert a new register to the database Attach the object to the entity manager. mergeweb Find an attached object with the same id and update it. If exists update and return the already
相关文章
相关标签/搜索