[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-507) @Digits(integerDigits, fractionalDigits)
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Sun Dec 17 18:40:04 EST 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-507?page=comments#action_25650 ]
Emmanuel Bernard commented on ANN-507:
--------------------------------------
you should do something similar to what LengthValidator is doing but with setPrecision and setScale
> @Digits(integerDigits, fractionalDigits)
> ----------------------------------------
>
> Key: ANN-507
> URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-507
> Project: Hibernate Annotations
> Type: New Feature
> Reporter: Emmanuel Bernard
> Assignee: Emmanuel Bernard
> Fix For: 3.2.2
> Attachments: Digits.java, DigitsValidator.java
>
>
> @Digits(integerDigits=8, fractionalDigits=2)
> ensure that the number can be expressed with integerDigits digits and factionalDigits digits
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list