[hibernate-issues] [Hibernate-JIRA] Created: (ANN-508) @CreditCardNumber for Hibernate Validator

Gavin King (JIRA) noreply at atlassian.com
Mon Dec 18 07:09:05 EST 2006


@CreditCardNumber for Hibernate Validator
-----------------------------------------

         Key: ANN-508
         URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-508
     Project: Hibernate Annotations
        Type: New Feature

  Components: validator  
    Reporter: Gavin King
 Assigned to: Emmanuel Bernard 
     Fix For: 3.2.2


I just dicovered the existence of the Luhn algorithm ;-) Very cool.

http://en.wikipedia.org/wiki/Luhn_algorithm

Here is a Java impl:

http://www.darkcanyongroup.com/code/luhn_algorithm.txt

We should have a built-in validator for this.

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