You should post the code for your Honey class as well. Make sure the many-to-one property of your class is treated as an H class. It seems that you are treating the FK as an Integer in your class, which is why Hibernate is complaining about an unmapped "java.lang.Integer" type. You try something like:
[In Honey.java]
Code:
private H hItem;
public H getH() {
return hItem;
}
public void setH(H hItem) {
this.hItem = hItem;
}
[In your Honey.hbm.xml]
Code:
<many-to-one name="h" column="id_h" not-null="true" />