EntityManager.merge() 可以插入新对象并更新现有对象。 为什么要使用 persist() (只能创建新对象)? jpa merge entitymanager persist java-persistence-api ...
確定! 回上一頁