Define an entity with the following field and generate the DoD driven integration tests:
Next, run the integration tests. The testPersist() method will fail with a constraint violation. The test uses Integer.MAX_VALUE as the value for the index in getRandomEntityName(). The DoD class then uses the index to construct the BigDecimal, even though the annotation above set the max decimal amount to "9999.99".
This does not happen with integer fields - the annotation is used to limit the maximum value to the value specified by the maximum value.