Skip to content

Validate values for mappings #30

Description

@kaklakariada

When creating a mapping (e.g. ToDecimalMapping) with an invalid value (e.g. decimalPrecision=0), the builder accepts the invalid value as it is.

It would make finding the root cause much easier if the build() method would fail immediately for invalid values and throw an exception with a helpful error message, e.g. Precision must be a number between 1 and 36 but was 0..

See also exasol/sql-statement-builder#185

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions