Cannot get hibernate to update string column in table

I’m using to change a varchar column to another length but it does not work with hibernate 6.3.1. I’ve debugged the hibernate code and I think the method IsStringType(int typeCode) in org.hibernate.type.SQLTypes is wrong. It always return false. The source code for this method in hibernate 6.4.0 is the same. Am I wrong or is this a bug?


Please try to create a reproducer with our test case template ( and if you are able to reproduce the issue, create a bug ticket in our issue tracker( and attach that reproducer.