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

Hardy Ferentschik hibernate at ferentschik.de
Thu Feb 19 04:58:24 EST 2009


On Thu, 19 Feb 2009 10:46:59 +0100, Emmanuel Bernard  
<emmanuel at hibernate.org> wrote:

> this is not the semantic I would naturally apply to number. Not sure.

Why not? I think @Number or @Numeric would work quite well. I guess the  
"problem"
is when you place either one of a String. I agree that  
@Number-/@NumericRepresentation is in
this case more accurate, but I could live with the shorter name. I think  
the intention is still
clear.

--Hardy





More information about the hibernate-dev mailing list