-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernate Validators for validating two entered passeword
PostPosted: Tue May 12, 2009 1:12 am 
Beginner
Beginner

Joined: Fri Feb 20, 2009 2:19 am
Posts: 33
How to validate using hibennate validators that entered two passwors are matched ?
can we customize the validators?


Top
 Profile  
 
 Post subject: Re: Hibernate Validators for validating two entered passeword
PostPosted: Tue May 12, 2009 4:46 am 
Beginner
Beginner

Joined: Wed Feb 23, 2005 11:32 am
Posts: 25
Location: Austria/Vienna
when using the existing old hibernate validator, than as far as i know there is no cross-field validator.

i would suggest you to read this excellent article about hibernate validation
and the new jsr 303 validation which comes up for hibernate also:

http://www.lunatech-research.com/archives/2008/05/09/bean-validation

you should be able to use the validation conditions to check if your 2 properties are equal or not.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.