Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss Seam] - Hibernate validator @CreditCardNumber
 not working

scott.stark@jboss.org

2007-07-11


Hi,

I'm using seam 1.2.1 and tried it with both Jboss AS 4.0.5 and 4.2. The hibernate validator @CreditCardNumber is not validating the credit card number form input.

I did look deep in to it and found out the hibernate-annotations.jar used by JBoss has validator classes in it. But I do not see CreditCardNumber class in the jar file. I think JBoss(both 4.0.5 and 4.2) is using an old version hibernate-validator classes. Even other validators like @Digits etc. are not part of it.

Has anyone come across this issue? How do I use the latest version of hibernate-validator? I tried updating the one used by Jboss but it didn't seem to like it. I hoped 4.2 might be using the latest one but it does not either.

I tried adding the jar in WEB-INF/lib of my application but it does not work either.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4062814#4062814

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4062814
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.