I am using the Play Framework with Ebean and H2 database.
The problem is, the BigDecimal
results in the DB script as:
sum decimal(38),
but what I want is:
sum decimal(38,2),
I already tried to define the value in the model like that:
@Digits(integer=6, fraction=2)
private BigDecimal sum;
Any ideas?