Cannot get hibernate to update string column in table

I’m using hibernate.hbm2ddl.auto=update 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?

Regards,
Thomas

Please try to create a reproducer with our test case template (https://github.com/hibernate/hibernate-test-case-templates/blob/master/orm/hibernate-orm-6/src/test/java/org/hibernate/bugs/JPAUnitTestCase.java) and if you are able to reproduce the issue, create a bug ticket in our issue tracker(https://hibernate.atlassian.net) and attach that reproducer.