title: Hibernate JPA: How to control "Not-Found" behavior when lazy loading a ManyToOne relation?
body: <p>In older xml based hibernate, one can have this config ,</p>
  
  <p><code>&lt;many-to-one ... not-found="ignore" /&gt;</code></p>
  
  <p>but in JPA annotations, there seems to be nothing similar.</p>
  
  <p>My problem is that our company has SQL REFERENCE definitions like this:</p>
  
  <p><code>authorId INT NOT NULL DEFAULT 0</code>  </p>
  
  <p>which makes all foreign reference default to a "Not-Found" situation. When the relation is loaded lazily, will get an Exception...</p>