title: Grails multi datasource domain issue
body: <p>I have a project which tables spread between 2 datasources.
  I'm configuring the code to access table as per 3.3.6 topic in grails documentations
  <a href="http://grails.org/doc/2.0.0.M2/guide/conf.html#dataSourcesAndEnvironments" rel="nofollow">http://grails.org/doc/2.0.0.M2/guide/conf.html#dataSourcesAndEnvironments</a></p>
  
  <p>Everything seems to be ok, but I got the following error</p>
  
  <blockquote>
    <p>Message: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.MappingException: Association references unmapped class: br.com.fisgo.Provider</p>
    
    <p>Caused by MappingException: Association references unmapped class: br.com.fisgo.Provider</p>
  </blockquote>
  
  <p>Any idea on why do I get this error?</p>
  
  <p>Regards.</p>
  
  <p>I'll try it out.
  It won't be that simple because Company domain links back to Provider
  It will just require more efort</p>
  
  <pre><code>class Company {
      String name
      String cnpj
      String email
      Address address
      Phone phone
      String registration
      String source
  
      Set provider = new HashSet&lt;Provider&gt;()
  
      static hasMany = [provider: Provider]
  </code></pre>