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