It's seems to be a MySQL JDBC problem:
http://forum.hibernate.org/viewtopic.php?t=949370
MySQL needs to have a column definition in .hbm.xml files.
On the other hand PostgreSQL complaints, if the
column's attribute value is a mixed lowercase/uppercase
string.