title: Android Room Entity Enum Field Causes Build Failed
body: <p>I noticed that since <code>Room 2.3.0-alpha04</code> it supports <code>Enum</code> field for the <code>Entity</code> (from this <a href="https://stackoverflow.com/a/66530396/3466808">post</a>), so I try but failed...</p>
  <p><strong>My <code>Gender</code> Enum:</strong></p>
  <pre><code>enum class Gender(val value: String) {
      MALE(&quot;Male&quot;),
      FEMALE(&quot;Female&quot;),
      UNKNOWN(&quot;Unknown&quot;)
  }
  </code></pre>
  <p><strong>My <code>Entitiy</code>:</strong></p>
  <pre><code>@Entity(tableName = &quot;student&quot;)
  data class Student(
      var name: String,
      var age: Int,
      var gender: Gender    //&lt;- Enum
  ) {
      @PrimaryKey(autoGenerate = true)
      var id: Long = 0
  }
  </code></pre>
  <p><strong>My <code>Dao</code>:</strong></p>
  <pre><code>@Dao
  interface StudentDao {
      @Query(&quot;SELECT * FROM student&quot;)
      fun getAllStudentsFlow(): Flow&lt;List&lt;Student&gt;&gt;
  
      @Insert
      suspend fun insert(student: Student)
  
      @Query(&quot;SELECT COUNT(name) FROM student WHERE name = :name&quot;)
      suspend fun getNameCount(name: String): Int
  }
  </code></pre>
  <p>I'm using the latest version:</p>
  <pre><code>implementation &quot;androidx.room:room-runtime:2.4.0-beta02&quot;
  implementation &quot;androidx.room:room-ktx:2.4.0-beta02&quot;
  kapt &quot;androidx.room:room-compiler:2.4.0-beta02&quot;
  </code></pre>
  <p>And getting this error:</p>
  <pre><code>&gt; Task :app:compileDebugJavaWithJavac FAILED
   C:\...\com\example\roomwithenum\database\StudentDao_Impl.java:87: ����: �޷����� 
  Student�еĹ����� StudentӦ�õ���������;
              _item = new Student();
                  ^
    ��Ҫ: String,int,Gender
    �ҵ�: û�в���
    ԭ��: ʵ�ʲ����б����ʽ�����б��Ȳ�ͬ
  1 ������
  </code></pre>
  <p>Any help will be appreciated.</p>