Using Hibernate-tools3.1beta2
I'm having trouble  generating Map types correctly.
For example my hbm.xml file for MyClass has this in it:
Code:
      <map name="myMapItems" lazy="false" inverse="true">
         <key column="MY_FIRST_COL_ID" />
         <map-key column="MY_SECOND_COL_ID" type="Integer"/>
         <one-to-many class="mycompany.MapItem"/>
      </map>
When I generated code, the java file had this in it:
Code:
 private Map<mycompany.MapItem> myMapItems;
I want it to look like:
Code:
 private Map<Integer, mycompany.MapItem> myMapItems;
Does anybodey know how to do this?
Thanks.