Created
June 1, 2020 16:55
-
-
Save cdwijayarathna/37869199d6518295671133fbf382aa41 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Query<JwtToken> query = createNamedQuery("UPDATE JwtToken SET isValid = false WHERE loginId = :loginId", | |
JwtToken.class); | |
Map<String, Object> paramMap = new HashMap<>(); | |
paramMap.put("loginId", loginId); | |
paramMap.forEach(query::setParameter); | |
query.executeUpdate(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment