Re: [hibernate-dev] [Bean Validation] @Digits => @DecimalRepresentation

2009-02-23 Thread Emmanuel Bernard
remember the point of @Digits, limit the scale / precision of them. Scale / precision are defined based on a pre defined representation (decimal in this case). On Feb 18, 2009, at 16:43, johng@gmail.com wrote: Sorry if I'm repeating information that someone else may have brought up and

Re: [hibernate-dev] [Bean Validation] Constraints plural

2009-02-23 Thread Emmanuel Bernard
I finally went for .List @Max.List On Feb 22, 2009, at 07:18, Elias Ross wrote: List or Array or Many makes more sense than "Plural" which is really defined to mean "more than one" but I think in some cases you might just have a single element or none at all. For example, this would be valid I

Re: [hibernate-dev] [BVAL-RI] Regarding @Size

2009-02-23 Thread Emmanuel Bernard
Yes, make sense http://opensource.atlassian.com/projects/hibernate/browse/BVAL-125 On Feb 22, 2009, at 17:32, Alaa Mohsen wrote: Hello Guys, I was thinking about something. Why do we have the default value for min() in the Size constraint set to Integer.MIN_VALUE and not zero? I know