Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Created July 27, 2018 07:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deque-blog/1ab906f47ea584a028067343d878ccf4 to your computer and use it in GitHub Desktop.
Save deque-blog/1ab906f47ea584a028067343d878ccf4 to your computer and use it in GitHub Desktop.
@Modifying
@Query(
value = "update SweeperTable set sent = 1 where messageId in (:messageIds)",
nativeQuery = true)
void markSent(@Param("messageIds") List<Long> messageIds);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment