could not extract ResultSet; nested exception is org.hibernate.exception.GenericJDBCException: could
could not extract ResultSet; nested exception is org.hibernate.exception.GenericJDBCException: could not extract ResultSet
使用@Query更新了数据,却没有添加注解导致调用了错误的方法。
添加这两个注解: @Transactional @Modifying