title: how to update select column in Spring data?
body: <p>Please check the below query I am trying to update a row by the composite key </p>
  
  <p>my <strong>key combination is like</strong>: </p>
  
  <pre><code>int id  
  int versionId
  String languageId
  </code></pre>
  
  <p><strong>and query is</strong>: </p>
  
  <pre><code>@Transactional
  @Modifying
  @Query("update languageEntity l set l.language = :language where l.languageId = :languageId")
  
  int UpdateProcessLanguage(@Param("language ") String processDesTranslation, @Param("languageId ") UserLanguageId languageId);
  </code></pre>
  
  <p>I am not getting any exception. function is returning <code>0</code>, means no row effected.</p>
  
  <p>please check what is worng.</p>