1. Hibernate Annotations: Store an int in a varchar column stackoverflow.com
I'm using Hibernate Annotations. In my POJO I have a year field which is an int. I would like to persist this value in a char(4) column in my DB, and have hibernate ...
2. Wrong column type ... Found: varchar, expected: longvarchar forum.hibernate.org
Hi there, during the migration of an application from MySQL to HSQLDB I am struggling with one data type mapping issue that I cannot seem to figure out a solution for. Effectively, during the creation of the SessionFactory Hibernate's schema validator complains about an inconsistent schema mapping: Code: org.hibernate.HibernateException: Wrong column type in