[hibernate-dev] [Bean Validation] @Max / @Min as double instead of long

Hardy Ferentschik hibernate at ferentschik.de
Fri Feb 27 09:11:35 EST 2009


On Fri, 27 Feb 2009 15:01:40 +0100, Emmanuel Bernard  
<emmanuel at hibernate.org> wrote:

> values are of type long.
> Someone asked to move to double. What do you think?

Kind of makes sense, since we allow to put @Min and @max onto decimal  
fields.
Are there any disadvantages or problems with moving to double?

--Hardy




More information about the hibernate-dev mailing list