Henry Tung I updated the affected version field. However, this is not a bug in Hibernate so the affected version is not quite relevant. This would be a new feature to schema validation to check column types based on the idea of type-assignability rather than type-equality. I have started on some of the internals we would need to make that switch, however I am very worried about handling custom data types, OTHER, etc. If you wanted to take a stab at implementing this, take a look at org.hibernate.type.descriptor.sql.JdbcTypeFamilyInformation. That is the general idea I had for implementing this. One concern would be the directionality aspect to type-assignability as opposed to type-equality, especially in terms of data truncation (Types#BIGINT -> Types.SMALLINT, e.g.). |