In AbstractHANADialect.contributeTypes the value of the parameter use_unicode_string_types is stored in a local variable instead of the class member.
Also, there are some additional compiler warnings that should also be fixed.