title: How does NHibernate seqhilo generate ids?
body: <p>My Oracle database has a sequence (PART_SEQ) starting at 1,000,000,000.  My NHibernate mapping uses this sequence for id generation using seqhilo.</p>
  
  <pre><code>  &lt;id name="_persistenceId" column="Id" type="long" access="field" unsaved-value="0" &gt;
       &lt;generator class="seqhilo" &gt;
          &lt;param name="sequence"&gt;part_seq&lt;/param&gt;
          &lt;param name="max_lo"&gt;100&lt;/param&gt;
       &lt;/generator&gt;
    &lt;/id&gt;
  </code></pre>
  
  <p>I am expecting  ids to be generated like 100000000000, 100000000001, 100000000002, ..., 100000000100, 100000000101, 100000000102, ... based on <a href="https://stackoverflow.com/questions/282099/whats-the-hi-lo-algorithm">this question</a> and <a href="https://stackoverflow.com/questions/5346147/hibernate-oracle-sequence-produces-large-gap">this question</a>.</p>
  
  <p>Instead NHibernate is producing ids like 101000000000, 101000000001, 101000000002, ..., 101000000100, 101000000101, 101000000102 with an extra 1.  How is it producing these ids and how can I get it to not add the extra 1 to the id?</p>