title: eclipse generating entity classes from database is not pulling associations
body: <p>I am working on rewriting an application using hibernate with existing database.This application has all select queries it is basically read only application.</p>
  
  <p>I am trying to create entity classes from tables using JPA tools in eclipse, as there are no constraints defined on database , the generated model classes have no relationships.There are around 100 tables using by the application in that database.</p>
  
  <p>I tried to figure out the relationships between tables from the existing sql queries and also using data in database.But as there are lot of tables it is hard to do it manually.</p>
  
  <p>As the database used by number of applications there is no way of enforcing relationships on database</p>
  
  <p>Question:</p>
  
  <p>1.Is there any way of to generate entities with relationships if there are no constraints on database?</p>
  
  <p>2.If it needs to be done manually, what is the best approach?</p>