title: Hibernate auto-increment property
body: <p>I know you can auto-increment an id by mapping;</p>
  
  <pre><code>&lt;id column="user_id" name="id" &gt;
  &lt;generator class="increment"/&gt;
  &lt;/id&gt;
  </code></pre>
  
  <p>But is it also possible increment a property, what I tried so far didn't work;</p>
  
  <pre><code>&lt;property column="numeric_value" name="nr" &gt;
  &lt;generator class="increment"/&gt;
  &lt;/property&gt;
  </code></pre>