MODE-2125 Fixed data type conversions for the local JDBC driver.