Skip to content

Preserve MongoDB statement parameter precision or reject unsupported ranges #12468

Description

@tomas-langer

Description

MongoDB statements serialize substituted numeric parameters into JSON text and reparse them with Document.parse, which represents ordinary fractional or exponent values as binary doubles and integral values within signed 64-bit bounds. Binding should preserve the supplied BigDecimal or BigInteger value, or reject unsupported ranges explicitly; otherwise query and update values can be rounded or fail only during parsing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

27.xIssues for 27.x version branchDB clientHelidon DB Client

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions