New狀態的Entity可使用 EntityManager 的 merge() 或 persist() 來將 ... instance 錯誤tx.commit(); } catch (Excepton e) { tx.rollback(); }.
確定! 回上一頁