Hi everyone,
I have a question about the auto increment. I have the following mapping file that does not display auto_increment when viewing the table schema (i.e. using describe "table name"). I'm using mysql. When created using sql it is displayed within the extra column for the field.
Code:
<id name="id" type="long" column="ID">
<generator class="increment"/>
</id>
I assumed increment would work this way. If I have misunderstood or you can help to working correctly please post a response.
Thanks, Alyssa.