title: Fluent NHibernate - how to specify sequence name for Id with GeneratedBy.Native()
body: <p>I use Fluent NHibernate and I need to use GeneratedBy.Native() for Id generation to support Oracle,DB2 and MSSQL databases. If I try to run it like this on Oracle and insert new record to the table I get: </p>
  
  <pre><code>Could not execute query: select hibernate_sequence.nextval from dual
  System.Data.OracleClient.OracleException (0x80131938): ORA-02289: sequence does not exist
  </code></pre>
  
  <p>Mapping class:</p>
  
  <pre><code>public sealed class ListDataMap : ClassMap&lt;ListData&gt;
  {
      public ListDataMap()
      {
          Table("LIST_DEF");
  
          Id(x =&gt; x.Id, "ID").Not.Nullable().GeneratedBy.Native();
          //other mapping
      }
  }
  </code></pre>
  
  <p>How can I specify the name of the sequence? I don't want to use hibernate_sequence because I will need more than 1 sequence and I don't want to have 1 shared sequence.</p>
  
  <p>Thanks!</p>