Not related to this, but please change PhoenixResultSetMetaData to return the correct scale and precision for the metadata methods. Check PhoenixDatabaseMetaData and PhoenixParameterMetaData too - not sure if they have anything similar.