Hi,
Using Roo 1.2.3, when I default negative value for integer such as one below:
I get error:Code:field number --fieldName fieldName5 --type java.lang.Integer --notNull --min -1 --max 10
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 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
Is negative number not supported? Any temporary workaround?Code:field number --fieldName fieldName5 --type int --notNull --min -1 --max 10
Any helps appreciated.
Thank you.


Reply With Quote
