[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-507) @Digits(integerDigits, fractionalDigits)

Norman Richards (JIRA) noreply at atlassian.com
Sun Dec 17 00:10:04 EST 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-507?page=comments#action_25647 ] 

Norman  Richards commented on ANN-507:
--------------------------------------

I don't understand how PropertyConstraint works, so I was unable to implement apply().  I'll be happy to do that part too, if someone can explain exactly what it does.  (the docs are lacking in that regard)

> @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