@Query(nativeQuery=true,value="update tbl_runningNumber set autoNum= autoNum+1 where cycle=:cycle and module=:module")
String updateByCycle(@Param ("module")String module,@Param("cycle") int cycle);
I want to update data form spring to database when i click on update at database is work normal but at my spring error messages
2023-02-01 16:17:47.651 WARN 21588 --- [nio-8082-exec-4] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Error: 0, SQLState: null
2023-02-01 16:17:47.651 ERROR 21588 --- [nio-8082-exec-4] o.h.engine.jdbc.spi.SqlExceptionHelper : The statement did not return a result set.