title: Room delete query does not remove the row in database
body: <p>I'm using <code>@Query</code> to delete row in my Room database, but I'm not able to delete the record. Here is my query from <code>@Dao</code></p>
  
  <pre><code>@Dao
  public interface NoteDao {
  
      @Insert
      void insert(final Note note);
  
      @Update
      void update(final Note note);
  
      @Query("DELETE FROM notes WHERE uid = :noteId")
      int delete(final int noteId);
  
      @Query("SELECT * FROM notes")
      LiveData&lt;List&lt;Note&gt;&gt; selectAll();
  }
  </code></pre>
  
  <p>Entity class</p>
  
  <pre><code>@Entity(tableName = "notes")
  public class Note {
      @PrimaryKey(autoGenerate = true)
      @ColumnInfo(name = "id")
      @Expose(serialize = false, deserialize = false)
      private int mId;
      @ColumnInfo(name = "uid")
      @SerializedName("id")
      private int mUid;
      @ColumnInfo(name = "text")
      @SerializedName("text")
      private String mText;
  
      public Note() {
      }
  
      getters and setters ommited
  
  }
  </code></pre>
  
  <p>Can someone give me an advice, what I'm doing wrong?</p>