rajesh
@Transactional @Modifying(flushAutomatically = true, clearAutomatically = true) @Query( "UPDATE posts SET comments_count = comments_count +1 WHERE post_id = :postId RETURNING comments_count", nativeQuery = true ) fun incrementCommentCounter(@Param("postId") postId: Long): Int
RETURNING
o.h.engine.jdbc.spi.SqlExceptionHelper : A result was returned when none was expected.
iamkdblue
kqr
A modern programming language that makes developers happier.