Menu

#1 Incorrect generation of primary key mapping in xml

open
nobody
None
5
2007-08-04
2007-08-04
Anonymous
No

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

Discussion


Log in to post a comment.