We're updating the issue view to help you get more done. 

org.hibernate.HibernateException: Wrong column type in for column. Found: smallint, expected: integer

Description

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

Environment

hibernate-jpa-2.0-api.jar 1.0.0.Final, MySQL 5.5.24-5-log (Debian)

Status

Assignee

Unassigned

Reporter

Matti Linnanvuori

Labels

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Affects versions

1.0.0

Priority

Major