title: Hibernate foreign key mapping?
body: <p>I have an entity A that has a foreign key of entity B:</p>
  
  <pre><code>entity A --&gt; id, entity_a_name, foreign_key_entity_B 
  </code></pre>
  
  <p>When I call  </p>
  
  <pre><code>return session.createCriteria(EntityA.class).list();  
  </code></pre>
  
  <p>I get the property of entityB inside entity A as well. How do I make it lazy load so it will not load enityB if not needed?</p>