title: DbUnit: problem with increment id generation
body: <p>I am using DbUnit together with Unitils, which works great most of the time.  </p>
  
  <p>Today I found a strange problem.  </p>
  
  <p>Situation is:</p>
  
  <ul>
  <li>I use Hibernate, and have id with "increment" generator: </li>
  </ul>
  
  <pre>
  &lt;id name="Id">
     &lt;generator class="increment"/>
  &lt;/id>
  </pre>
  
  <ul>
  <li>I prepare test dataset, where maximal id is 5.</li>
  <li>I use clean-insert loading strategy.</li>
  <li>I have two test methods <code>test1</code> and <code>test2</code>, each adding one row in this table.</li>
  <li>After <code>test1</code> method newly added row has id=6.</li>
  <li>After <code>test2</code> method newly created row has id=7.</li>
  </ul>
  
  <p>This is all OK and I get why this is like that. It is a problem from maintenance perspective though. If I ever add third test method between the two, method <code>test2</code> will suddenly fail even though nothing changed, just because row will get different id.</p>
  
  <p>Is there anyway I can force DbUnit or Hibernate to calculate next id value before each test method?</p>