I've noticed there is in 4.2.7 available method:
protected SqlTypeDescriptor getSqlTypeDescriptorOverride(int sqlCode)
would that work for you? I guess so.