JPA 如何实现insert ignore. 常见的方法就是写原生SQL,nativeQuery = true. 然后一个脑筋急转弯,写那么多字段干嘛?只要在save 方法上加个try catch ...
確定! 回上一頁