title: Grails/Hibernate: No row with the given identifier exists
body: <p>I have a domain as follow:</p>
  
  <pre><code>class Author {
      String id
      static hasMany = [accounts: Account]
      static belongsTo = Account
      static mapping = {
          accounts joinTable: [name: "SOMETABLE", key: 'SOMEFIELD'], 
                   ignoreNotFound: true
      }
      static constraints = {}
  }
  </code></pre>
  
  <p>I get the following error when no record are found. I tried the ignoreNotFound, it not working. </p>
  
  <pre><code>error message: accounts=org.hibernate.ObjectNotFoundException: 
  No row with the given identifier exists: 
  [com.myapplication.Account#123465489785]
  </code></pre>
  
  <p>it happens when trying to select join 2 records that you dont have access to insert in the db.
  Is there a workaround, please?</p>