title: No metadata found for type using OpenJPA with RuntimeUnenhancedClasses
body: <p>I am using JPA (OpenJPA). I have following entries in my <code>persistence.xml</code>:</p>
  
  <pre><code>&lt;property name="openjpa.RuntimeUnenhancedClasses" value="supported"/&gt;
  </code></pre>
  
  <p>I also have <code>Serviceoffering</code> class listed in <code>persistence.xml</code>.
  I am getting following exception when I try to run my JPA-related code. What can be the problem?</p>
  
  <pre><code>No metadata was found for type "class com.XYZ.cloud.bss.client.db.data.Serviceoffering".  Ensure that the class is enhanced (if necessary), that the class has appropriate metadata, and that if you list your persistent classes, the class is included in your list.
  C = null
  &lt;openjpa-1.2.1-SNAPSHOT-r422266:686069 fatal user error&gt; org.apache.openjpa.persistence.ArgumentException: No metadata was found for type "class com.XYZ.cloud.bss.client.db.data.Serviceoffering".  Ensure that the class is enhanced (if necessary), that the class has appropriate metadata, and that if you list your persistent classes, the class is included in your list.
      at org.apache.openjpa.meta.MetaDataRepository.getImplementorMetaDatas(MetaDataRepository.java:1108)
      at org.apache.openjpa.kernel.QueryImpl.createExecutor(QueryImpl.java:720)
      at org.apache.openjpa.kernel.QueryImpl.compileForDataStore(QueryImpl.java:692)
      at org.apache.openjpa.kernel.QueryImpl.compileForExecutor(QueryImpl.java:674)
      at org.apache.openjpa.kernel.QueryImpl.getOperation(QueryImpl.java:1492)
      at org.apache.openjpa.kernel.DelegatingQuery.getOperation(DelegatingQuery.java:123)
      at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java:243)
      at org.apache.openjpa.persistence.QueryImpl.getResultList(QueryImpl.java:293)
      at c
  </code></pre>