title: Add Annotated Class in Hibernate by adding all classes in some package. JAVA
body: <p><strong>is there any way to loop (e.g. via for) all classes with are in some package?</strong>
  I have to <code>addAnnotatedClass(Class c)</code> on <code>AnnotationConfiguration</code>.
  Doing it like this:</p>
  
  <pre><code>    AnnotationConfiguration annotationConfiguration.addAnnotatedClass(AdditionalInformation.class);
      annotationConfiguration.addAnnotatedClass(AdditionalInformationGroup.class);
      annotationConfiguration.addAnnotatedClass(Address.class);
      annotationConfiguration.addAnnotatedClass(BankAccount.class);
      annotationConfiguration.addAnnotatedClass(City.class);
      //et cetera
  </code></pre>
  
  <p>All of my tables are in package <code>Tables.Informations</code>.</p>