我希望Jpa在Save时,若主键已存在,直接报异常。但Spring Jpa在Save时,进行了isNew的判断,若new则insert(persist),否则update(merge),我看到的JPA ...
確定! 回上一頁