jpa 删除是否成功_jpa 自定义sql 删除方法注意点
1、jpa自带的delete()方法可以成功删除对象delete(id),或者delete(entity)2、自定义删除方法注意点参考:https://www.jianshu.com/p/9d5bf0e4943f@RequestMapping(value = "/delById")public void delById(@RequestParam("id") int userId){account...