Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some BigDecimal fails to decode #244

Open
mshima opened this issue Oct 16, 2023 · 0 comments
Open

Some BigDecimal fails to decode #244

mshima opened this issue Oct 16, 2023 · 0 comments

Comments

@mshima
Copy link

mshima commented Oct 16, 2023

Bug Report

Some BigDecimal values fails with Scale or fractional seconds precision (\"-1\") must be between \"0\" and \"100000\" inclusive [90151-214] error.
At sample value 61550 fails to persist with this error.

We had this error at jhipster/generator-jhipster#20036.
We applied a workaround, so this is minor for us. I decided to open this issue for reference since we are about to close the original issue.

Versions

  • Driver: 1.0.0
  • Database: 2.2.220
  • Java: 17
  • OS: Ubuntu

Current Behavior

We generate a CI sample for testing with fake data.
The fake data causes this error at table insertion for some values.
We've switched to always generate a 0.01 precision fake data to workaround the issue.

Steps to reproduce

The reproduction is not so easy, so I will just post a summary.

  • Generate a JHipster sample.
  • Start the application.
  • Run cypress tests (the fake samples are there).

I can post a full reproduction steps if there is need.

Expected behavior/code

Possible Solution

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant