A field of type Integer is not accepted, only Short, in a Java Entity class for a MySQL table column of type smallint(6) unsigned.
org.hibernate.HibernateException: Wrong column type in . for column *. Found: smallint, expected: integer
hibernate-jpa-2.0-api.jar 1.0.0.Final, MySQL 5.5.24-5-log (Debian)