Error when defaulting negative value for integer
Hi,
Using Roo 1.2.3, when I default negative value for integer such as one below:
Code:
field number --fieldName fieldName5 --type java.lang.Integer --notNull --min -1 --max 10
I get error:
Code:
field number --fieldName fieldName5 --type java.lang.Integer --notNull --min -1 --max 10
Error tailoring, cancelled command execution: You cannot add more than one default option ('-1') in a single command
You cannot specify option 'fieldName' when you have also specified '' in the same command
Just for completeness, I also try with int instead of java.lang.Integer but I still get the same error:
Code:
field number --fieldName fieldName5 --type int --notNull --min -1 --max 10
Is negative number not supported? Any temporary workaround?
Any helps appreciated.
Thank you.