title: NHibernate Fluent and named Queries
body: <p>I am using Nhibernate with fluent.
  Now I want to call some Stored procedure and use named Queries.
  I created some xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;hibernate-mapping&gt;
    &lt;sql-query name="CleanAppendicesHierarchies"&gt;
      exec intf_CleanUpAppendixHierarchy
    &lt;/sql-query&gt;
  &lt;/hibernate-mapping&gt;
  </code></pre>
  
  <hr>
  
  <pre><code>    FluentConfiguration cfg =
      Fluently.Configure().Database(MsSqlConfiguration.MsSql2005.ConnectionString(
  c =&gt; c.Is(dbConnectionString)).ShowSql())
  .Mappings(m =&gt; m.FluentMappings.AddFromAssembly(mappingAssembly))
  .Mappings(m =&gt; m.HbmMappings.AddFromAssembly(mappingAssembly));
  </code></pre>
  
  <p>Now I got always the Exception:(most inner exception)
  {"hibernate-mapping xmlns='' was not expected."} {"There is an error in XML document (1, 2)."}</p>
  
  <p>I fiddled around but if I remove hibernate-mapping then it complains about the sql-query tag.</p>
  
  <p>What is wrong in my approach? I googled already found examples but of course with out Fluent....</p>
  
  <p>Any hint is appreciated</p>