I am using the Play platform with an Ebean and H2 database.
The problem is what BigDecimalleads to the DB script like:
sum decimal(38),
but I want:
sum decimal(38,2),
I have already tried to determine the value in the model as follows:
@Digits(integer=6, fraction=2)
private BigDecimal sum;
Any ideas?
source
share