Add support for converting BigDecimal objects to a SQL string via DataTypeFactory

Description

DataTypeFactory#fromObject(Object, Database) resolves the UnknownType when the first argument is a BigDecimal instance. The BigDecimal is formatted as a number and then quoted as a string. It would be preferable to not have it quoted, and ensure that it isn't interpreted as a floating point constant by using BigDecimal#toPlainString() rather than BigDecimal#toString().

Environment

N/A

Reporter

Mark Chesney

Components

Fix versions

Affects versions

Priority

Major
Configure