change
Language
@Modifying(clearAutomatically = true
)
@Query(value = ""UPDATE " + USERS_KEY + " SET " + LANGUAGE_KEY + "=:" + LANGUAGE_KEY + " WHERE "
+ IDENTIFIER_KEY + "=:" + IDENTIFIER_KEY",
nativeQuery = true
)
Method to execute the query to change the language of the EquinoxUser
Parameters
newLanguage
: the new language of the user
id
: the identifier of the user