When trying to generate the pojo for a table where the column name of the primary key contains an underscore, the xml mapping does not contain the colum attribute.
For example if you try to generate the pojo for the table prpt_prt of the projet ibiza, the primary key is prt_nri. The xml file generated contains the following mapping.
<id name="prtNri">
</id>
The correct maping should have been
<id name="prtNri" column="prt_nri"/>
hlecluyse@conceptum.ca