MappingTool Behavior for DB2 and Derby
In previous releases, the MappingTool mapped java.math.BigDecimal fields to the database type DOUBLE, and as such, ignored column and precision values that might have been specified via the jakarta.persistence.Column annotation.
From the 2.3.0 release, java.math.BigDecimal fields are now mapped to the database type DECIMAL and it is very likely that you will need to specify column and precision via the jakarta.persistence.Column annotation.