chenygs
chenygs
  
Hibernate: delete from grow_level_task cross join grow_task growtask1_ where f_task_id=? 2024-04-30 13:50:21.334 TRACE 6556 --- [nio-8080-exec-7] o.h.type.descriptor.sql.BasicBinder : binding parameter [1] as [INTEGER] - [66] 2024-04-30 13:50:23.590 WARN 6556 ---...
@Modifying @Query("delete from TestDict bean where bean.group.id = :groupId ") @Transactional(rollbackFor = Exception.class) int deleteByGroupId(@Param("groupId") Integer groupId); Unable to use @Query annotation for deletion operation
After testing, it is caused by the @NotFound(action = NotFoundAction.IGNORE) annotation mark. If you delete it, there will be no syntax error. But I must use @NotFound now. How should...
> Thank you @chenygs for getting in touch - `spring-boot:2.3.x` as well as the associated `spring-data` bits are already out of support. Please upgrade to a more recent version. Please...
> Please find support timelines [here](https://spring.io/projects/spring-boot#support). As already mentioned this is very likely an issue it hibernate itself, so please try to reproduce the with plain hibernate/JPA first. This is...
> Please find support timelines [here](https://spring.io/projects/spring-boot#support). As already mentioned this is very likely an issue it hibernate itself, so please try to reproduce the with plain hibernate/JPA first. @Modifying @Query("delete...