Fix to select right datatype if DECIMAL_DIGITS for a column is less than 0 for a oracle database.