Run next script:
project --topLevelPackage com.test persistence setup --provider HIBERNATE --database HYPERSONIC_PERSISTENT entity jpa --class es.kk.domain.MyEntity field number --fieldName myNumber --type java.lang.Integer --max 31 --min 1 web mvc setup web mvc all --package ~.web
Creating a field and limiting their maximum and minimum value:
field number --fieldName myNumber --type java.math.BigDecimal --max 31 --min 1
The entity Java class includes the limitation correctly with @Max and @Min annotations.
However the jspx view takes these values as maximum and minimum size and also performs no validation with them into Tagx.