CDMT-69 fixed, it's a bug in MySQL JDBC driver, column types are resolved from table metadata, not from result set meta data