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.
<id name="_persistenceId" column="Id" type="long" access="field" unsaved-value="0" >
<generator class="seqhilo" >
<param name="sequence">part_seq</param>
<param name="max_lo">100</param>
</generator>
</id>
I am expecting ids to be generated like 100000000000, 100000000001, 100000000002, ..., 100000000100, 100000000101, 100000000102, ... based on this question and this question.
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?