CUBA has a default for BigDecimal precision .. which Jmix discards

If you don’t pay close attention to the scripts liquibase generates after migration to Jmix, you will lose important data in your database.

After migration from CUBA to Jmix it converts your DECIMAL fields from DECIMAL(19,2) to plain DECIMAL fields and all decimal places are lost.

Fix it by adding precision = 19, scale = 2 manually to every BigDecimal stored in your database.

Thank you for the report.
We’ll include conversion of the decimal parameters in the migration procedure: https://youtrack.jmix.io/issue/JST-2405

Regards,
Konstantin

1 Like