title: How to auto detect entities in JPA 2.0
body: <p>I am pretty sure that I used some sort of auto detection of beans annotated with @Entity in JPA 2.0 in the past but I am not able to find out how. How do you do that instead of listing each bean in a <code>class</code> XML element in the persistence.xml?</p>