title: Must every Entity Bean be registered in persistence.xml?
body: <p>I'm using Eclipse Facets for JPA 2.0 and Hibernate 4.2 implementation. I think I recall that in previous project I would not have to register an Entity Bean in the persistence.xml. Am I mistaken?</p>
  
  <p>Annotating a POJO (in this case Pub.java) with @Entity will throw the following error in the Eclipse marker/problem view: </p>
  
  <pre><code>Class "com.jacky.webapp.model.Pub" is managed, but is not listed in the persistence.xml file    Pub.java    /webapp/src/main/java/com/jacky/webapp/model    
  </code></pre>
  
  <p>Any clue? thanks.</p>