change
Email
@Modifying(clearAutomatically = true
)
@Query(value = ""UPDATE " + GROUP_MEMBERS_TABLE + " SET " + EMAIL_KEY + "=:" + EMAIL_KEY + " WHERE "
+ IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY",
nativeQuery = true
)
Method to execute the query to change the user's email
Parameters
userId
: the user identifier
email
: the new user email to set